Fatal error: Uncaught Error: Class 'Illuminate\Support\Collection' not found in C:\web\apontamentoSecamaq\vendor\laravel\framework\src\Illuminate\Routing\SortedMiddleware.php:7 Stack trace: #0 {main} thrown in C:\web\apontamentoSecamaq\vendor\laravel\framework\src\Illuminate\Routing\SortedMiddleware.php on line 7