[Security] Fix DocBlock of attemptAuthentication
Add Response as possible return type of the method because the method AbstractAuthenticationListener::handle() test if $returnValue is an instance of Response (line 148).
This commit is contained in:
parent
22470fdb2c
commit
134cc84e99
@ -177,7 +177,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
|
|||||||
*
|
*
|
||||||
* @param Request $request A Request instance
|
* @param Request $request A Request instance
|
||||||
*
|
*
|
||||||
* @return TokenInterface The authenticated token, or null if full authentication is not possible
|
* @return TokenInterface|Response|null The authenticated token, null if full authentication is not possible, or a Response
|
||||||
*
|
*
|
||||||
* @throws AuthenticationException if the authentication fails
|
* @throws AuthenticationException if the authentication fails
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user