Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sendLockoutResponse return type (docblock) for static analysis / IDE help #207

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

proclame
Copy link
Contributor

Problem

PHPStorm & PhpStan show error on return $this->sendLockoutResponse($request); in a custom LoginController.

Solution

This PR updates the DocBlock => Return type to return same value used in laravel/framework => AuthenticatesUsers Trait, which is how it is used + what is expected.

@taylorotwell taylorotwell merged commit 559be09 into laravel:3.x Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants