diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2013-09-22 20:04:51 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2013-09-22 20:04:51 +0200 |
commit | 38c5dd30d7545490836456062abf49c213b972cb (patch) | |
tree | 64dd70bbdd2264f0b24ed8fc885880b0d1d56535 /Http | |
parent | c52bf28025ce247a0650b005a1ca3eec84d24e22 (diff) | |
parent | 97faa986a60edadef4fc35fed239693ba13c9c9f (diff) | |
download | symfony-security-38c5dd30d7545490836456062abf49c213b972cb.zip symfony-security-38c5dd30d7545490836456062abf49c213b972cb.tar.gz symfony-security-38c5dd30d7545490836456062abf49c213b972cb.tar.bz2 |
Merge branch '2.3'
* 2.3:
[Locale] added support for the position argument to NumberFormatter::parse()
[Locale] added some more stubs for the number formatter
[Yaml] fixed typo
[Yaml] fixed a test on PHP < 5.4
[DomCrawler]Crawler guess charset from html
fixed PHP 5.3 compatibility
[Yaml] reverted previous merge partially (refs #8897)
[Security] remove unused logger
[Security] fix typo
[Yaml] Fixed filename in the ParseException message
Diffstat (limited to 'Http')
-rw-r--r-- | Http/Firewall/AccessListener.php | 5 | ||||
-rw-r--r-- | Http/FirewallMapInterface.php | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/Http/Firewall/AccessListener.php b/Http/Firewall/AccessListener.php index c3894ef..9349012 100644 --- a/Http/Firewall/AccessListener.php +++ b/Http/Firewall/AccessListener.php @@ -15,7 +15,6 @@ use Symfony\Component\Security\Core\SecurityContextInterface; use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface; use Symfony\Component\Security\Http\AccessMapInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface; -use Psr\Log\LoggerInterface; use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException; use Symfony\Component\Security\Core\Exception\AccessDeniedException; @@ -31,15 +30,13 @@ class AccessListener implements ListenerInterface private $accessDecisionManager; private $map; private $authManager; - private $logger; - public function __construct(SecurityContextInterface $context, AccessDecisionManagerInterface $accessDecisionManager, AccessMapInterface $map, AuthenticationManagerInterface $authManager, LoggerInterface $logger = null) + public function __construct(SecurityContextInterface $context, AccessDecisionManagerInterface $accessDecisionManager, AccessMapInterface $map, AuthenticationManagerInterface $authManager) { $this->context = $context; $this->accessDecisionManager = $accessDecisionManager; $this->map = $map; $this->authManager = $authManager; - $this->logger = $logger; } /** diff --git a/Http/FirewallMapInterface.php b/Http/FirewallMapInterface.php index 336125f..1627ab5 100644 --- a/Http/FirewallMapInterface.php +++ b/Http/FirewallMapInterface.php @@ -24,7 +24,7 @@ interface FirewallMapInterface * Returns the authentication listeners, and the exception listener to use * for the given request. * - * If there are no authentication listeners, the first inner are must be + * If there are no authentication listeners, the first inner array must be * empty. * * If there is no exception listener, the second element of the outer array |