diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2013-09-19 11:48:50 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2013-09-19 11:48:50 +0200 |
commit | ed68104bc3cffe77b574d3f8d0f7efe4983e50fb (patch) | |
tree | fbee8f25796397b9b8db331db81df5dd3fac7061 /Http | |
parent | c30af3532143759579e27c90c01e7c38e830cc80 (diff) | |
parent | f780c0f107662295fc142e227c63a2ea8c04c7ee (diff) | |
download | symfony-security-ed68104bc3cffe77b574d3f8d0f7efe4983e50fb.zip symfony-security-ed68104bc3cffe77b574d3f8d0f7efe4983e50fb.tar.gz symfony-security-ed68104bc3cffe77b574d3f8d0f7efe4983e50fb.tar.bz2 |
This PR was merged into the 2.2 branch.
Discussion
----------
[Security] fix typo and remove unused logger
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
Commits
-------
a33cc51 [Security] remove unused logger
62de9c1 [Security] fix typo
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 |