summaryrefslogtreecommitdiffstats
path: root/Http/Firewall
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-01-25 05:39:35 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2015-01-25 05:39:35 +0100
commit9c940b6c6a370250a31b00664c088bb14d9e696f (patch)
treeb95a880c8bea8b6b04cf54faf63a0fcbc2532a1c /Http/Firewall
parentc199be2dfc2e24d7de1969c64846183242e1ba48 (diff)
parent109e94008f1a0da86d0abd354860b765d569b3c3 (diff)
downloadsymfony-security-9c940b6c6a370250a31b00664c088bb14d9e696f.zip
symfony-security-9c940b6c6a370250a31b00664c088bb14d9e696f.tar.gz
symfony-security-9c940b6c6a370250a31b00664c088bb14d9e696f.tar.bz2
Merge branch '2.6' into 2.7
* 2.6: [2.3] [HttpFoundation] [MimeTypeGuesser] Removed dead code and various cleaning Removed dead code and various cleaning [FrameworkBundle][xsd] added missing logging attribute. [Console] Make it clear that the second argument is not about command options. Added the '-' character for spaceless on tag start and end to be consistent for block, if, set and for nodes [Yaml] fixed parse shortcut Key after unindented collection. [Console] fixed #10531 Make the container considered non-fresh if the environment parameters are changed
Diffstat (limited to 'Http/Firewall')
-rw-r--r--Http/Firewall/AccessListener.php2
-rw-r--r--Http/Firewall/ExceptionListener.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/Http/Firewall/AccessListener.php b/Http/Firewall/AccessListener.php
index 93d20be..6fd68f3 100644
--- a/Http/Firewall/AccessListener.php
+++ b/Http/Firewall/AccessListener.php
@@ -55,7 +55,7 @@ class AccessListener implements ListenerInterface
$request = $event->getRequest();
- list($attributes, $channel) = $this->map->getPatterns($request);
+ list($attributes) = $this->map->getPatterns($request);
if (null === $attributes) {
return;
diff --git a/Http/Firewall/ExceptionListener.php b/Http/Firewall/ExceptionListener.php
index 7001532..213a837 100644
--- a/Http/Firewall/ExceptionListener.php
+++ b/Http/Firewall/ExceptionListener.php
@@ -94,7 +94,7 @@ class ExceptionListener
} elseif ($exception instanceof AccessDeniedException) {
return $this->handleAccessDeniedException($event, $exception);
} elseif ($exception instanceof LogoutException) {
- return $this->handleLogoutException($event, $exception);
+ return $this->handleLogoutException($exception);
}
} while (null !== $exception = $exception->getPrevious());
}
@@ -160,7 +160,7 @@ class ExceptionListener
}
}
- private function handleLogoutException(GetResponseForExceptionEvent $event, LogoutException $exception)
+ private function handleLogoutException(LogoutException $exception)
{
if (null !== $this->logger) {
$this->logger->info('A LogoutException was thrown.', array('exception' => $exception));