summaryrefslogtreecommitdiffstats
path: root/Http
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2011-12-18 14:42:59 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2011-12-18 14:42:59 +0100
commit1df44a7f54710ec4f270e7398bf1908af8f8ada8 (patch)
tree065956ec1dbd8d78834238a2b1cfbe9a72301186 /Http
parentc7a14cf650b68dc67a5bb6f5056ee7ce88b849c5 (diff)
downloadsymfony-security-1df44a7f54710ec4f270e7398bf1908af8f8ada8.zip
symfony-security-1df44a7f54710ec4f270e7398bf1908af8f8ada8.tar.gz
symfony-security-1df44a7f54710ec4f270e7398bf1908af8f8ada8.tar.bz2
fixed CS
Diffstat (limited to 'Http')
-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 5270e8d..1765f7f 100644
--- a/Http/Firewall/AbstractAuthenticationListener.php
+++ b/Http/Firewall/AbstractAuthenticationListener.php
@@ -144,7 +144,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
$this->sessionStrategy->onAuthentication($request, $returnValue);
$response = $this->onSuccess($event, $request, $returnValue);
- } else if ($returnValue instanceof Response) {
+ } elseif ($returnValue instanceof Response) {
$response = $returnValue;
} else {
throw new \RuntimeException('attemptAuthentication() must either return a Response, an implementation of TokenInterface, or null.');