Use more accurate variable name
This commit is contained in:
parent
535d6c8096
commit
9e2aa9fced
@ -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
|
||||
|
Reference in New Issue
Block a user