cartalyst / sentinel

A framework agnostic authentication & authorization system.
BSD 3-Clause "New" or "Revised" License
1.51k stars 238 forks source link

Laravel 7 composer install error #534

Closed cuneydtural closed 4 years ago

cuneydtural commented 4 years ago

I get this error in Laravel 7. Help please.

Argument 1 passed to Cartalyst\Sentinel\Activations\IlluminateActivationRepository::__construct() must be of the type string, null given, called in /home/vagrant/ego/vendor/cartalyst/sentinel/src/Laravel/SentinelServiceProvider.php on line 243

at vendor/cartalyst/sentinel/src/Activations/IlluminateActivationRepository.php:54 50| @param int $expires 51| 52| @return void 53| /

54| public function __construct(string $model, int $expires) 55| { 56| $this->model = $model; 57| 58| $this->expires = $expires;

Your Environment

Expected behaviour

Please describe what you are expecting to see happening.

Actual behaviour

Please describe what is actually happening.

Steps to reproduce

If your issue requires any specific steps to reproduce, please outline them here.

brunogaspar commented 4 years ago

This seems to be the same as https://github.com/cartalyst/sentinel/issues/520

If you have a fix please send a pull request as i personally can't reproduce the issue.

Going to close this since it's a duplicate either way.