ReflectionException in laravel: it cannot find the request I just created
I have a request file named UserRequest (in app \ Http \ Requests) and at the top
use App\Http\Requests\UsersRequest
I am getting this error: "ReflectionException on line RouteDependencyResolverTrait.php 57: App \ Http \ Requests \ UsersRequest class does not exist" .. Although I manually created a file with php artisan make:request UsersRequest
I renamed UserRequest to UserRequest yesterday. I am using PhpStorm and this editor finds UserRequest but not UserRequest (this last one is yellow)
Is there a way to update the project or tell laravel that UserRequest does exist?
+3
source to share