Laravel & Php

Argument 1 passed to AppHttpControllersAuthLoginController::attemptLogin() must be an instance of AppHttpControllersAuthRequest


This is how to solve this error

AppHttpControllersAuthLoginController::attemptLogin(): Argument #1 ($request) must be of type AppHttpControllersAuthRequest, IlluminateHttpRequest given, called in

import the request class with use IlluminateHttpRequest; at the top of the LoginController.


Laravel
Share with Friends

Like this chef? Share with friends..