Error while running composer dump-autoload... UrlGenerator.php line 120
An error occurred at UrlGenerator.php line 120... I don't really know the cause... I guess I'll have to look into it. 1 hour later I still haven't found the cau
GGAMI
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
In UrlGenerator.php line 120:
Argument 2 passed to Illuminate\Routing\UrlGenerator::__construct() must be an instance of Illuminate\Http\Request, null given, called in C:\dev\vendor\laravel\framework\src\Illuminate\Routing\RoutingServiceProvider.php on line 65
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1