diff options
author | Kaipi Yann <yann@thefootballsociaclub.com> | 2012-07-20 15:39:53 +0200 |
---|---|---|
committer | Kaipi Yann <yann@thefootballsociaclub.com> | 2012-07-20 15:46:05 +0200 |
commit | ab0b488e0283d1b2809a0cb87b7048fc878f5ef5 (patch) | |
tree | 0c3ab172720843cf06df547a56b449e37e36fd14 /Http | |
parent | b0257cd46a78251a25c17b91acb4dbbf6890590a (diff) | |
download | symfony-security-ab0b488e0283d1b2809a0cb87b7048fc878f5ef5.zip symfony-security-ab0b488e0283d1b2809a0cb87b7048fc878f5ef5.tar.gz symfony-security-ab0b488e0283d1b2809a0cb87b7048fc878f5ef5.tar.bz2 |
[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).
Diffstat (limited to 'Http')
-rw-r--r-- | Http/Firewall/AbstractAuthenticationListener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/AbstractAuthenticationListener.php b/Http/Firewall/AbstractAuthenticationListener.php index 1caaf0a..a7301db 100644 --- a/Http/Firewall/AbstractAuthenticationListener.php +++ b/Http/Firewall/AbstractAuthenticationListener.php @@ -177,7 +177,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface * * @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 */ |