summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaipi Yann <yann@thefootballsociaclub.com>2012-07-20 15:39:53 +0200
committerKaipi Yann <yann@thefootballsociaclub.com>2012-07-20 15:46:05 +0200
commitab0b488e0283d1b2809a0cb87b7048fc878f5ef5 (patch)
tree0c3ab172720843cf06df547a56b449e37e36fd14
parentb0257cd46a78251a25c17b91acb4dbbf6890590a (diff)
downloadsymfony-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).
-rw-r--r--Http/Firewall/AbstractAuthenticationListener.php2
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
*/