summaryrefslogtreecommitdiffstats
path: root/Http/Firewall.php
diff options
context:
space:
mode:
authorGrégoire Pineau <lyrixx@lyrixx.info>2014-03-09 12:57:49 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2014-03-09 20:38:15 +0100
commita8fb4115530809fb20bc73d4789a4f1878e5c55b (patch)
tree8ab802ca05dfa5a48f63dfcf9a9c8aeface4cda6 /Http/Firewall.php
parentdff8771fe6ccd17bf1385b1d35c71b0a70fa4b44 (diff)
downloadsymfony-security-a8fb4115530809fb20bc73d4789a4f1878e5c55b.zip
symfony-security-a8fb4115530809fb20bc73d4789a4f1878e5c55b.tar.gz
symfony-security-a8fb4115530809fb20bc73d4789a4f1878e5c55b.tar.bz2
Use more accurate variable name
Diffstat (limited to 'Http/Firewall.php')
-rw-r--r--Http/Firewall.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Http/Firewall.php b/Http/Firewall.php
index 98fda5e..392da0b 100644
--- a/Http/Firewall.php
+++ b/Http/Firewall.php
@@ -58,10 +58,10 @@ class Firewall implements EventSubscriberInterface
}
// register listeners for this firewall
- list($listeners, $exception) = $this->map->getListeners($event->getRequest());
- if (null !== $exception) {
- $this->exceptionListeners[$event->getRequest()] = $exception;
- $exception->register($this->dispatcher);
+ list($listeners, $exceptionListener) = $this->map->getListeners($event->getRequest());
+ if (null !== $exceptionListener) {
+ $this->exceptionListeners[$event->getRequest()] = $exceptionListener;
+ $exceptionListener->register($this->dispatcher);
}
// initiate the listener chain