Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SessionGuard needs to alias the Authenticatable interface
Since the Authenticatable trait is in the same namespace, it is defaulting to it. Aliasing to AuthenticatableContract makes it work properly. Otherwise, I get this error running phpunit: ``` PHP Fatal error: Cannot use Illuminate\Contracts\Auth\Authenticatable as Authenticatable because the name is already in use in /PhpStorm/Projects/ProjectManagement/vendor/laravel/framework/src/Illuminate/Auth/SessionGuard.php on line 12 PHP Fatal error: Uncaught Illuminate\Contracts\Container\BindingResolutionException: Target [Illuminate\Contracts\Debug\ExceptionHandler] is not instantiable. in /PhpStorm/Projects/ProjectManagement/vendor/laravel/framework/src/Illuminate/Container/Container.php:744 Stack trace: #0 /PhpStorm/Projects/ProjectManagement/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build('Illuminate\\Cont...', Array) #1 /PhpStorm/Projects/ProjectManagement/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('Illuminate\\Cont...', Array) #2 /PhpStorm/Projects/ProjectManagement/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(154): Illuminate\Foundation\Application->make('Illuminate\\Cont...') #3 /PhpStorm/Projects/ProjectManagement/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(79): Illuminate\Foundation\Bootstrap\HandleExceptions->getExceptionHandler() #4 /PhpStorm/ in /PhpStorm/Projects/ProjectManagement/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 744 ```
- Loading branch information