diff options
author | Grégoire Pineau <lyrixx@lyrixx.info> | 2014-03-09 12:57:49 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2014-03-09 20:38:15 +0100 |
commit | a8fb4115530809fb20bc73d4789a4f1878e5c55b (patch) | |
tree | 8ab802ca05dfa5a48f63dfcf9a9c8aeface4cda6 /Http/Firewall.php | |
parent | dff8771fe6ccd17bf1385b1d35c71b0a70fa4b44 (diff) | |
download | symfony-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.php | 8 |
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 |