Skip to content

Commit 5fc1968

Browse files
committed
[Security] remove unused logger
1 parent 86909e7 commit 5fc1968

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Firewall/AccessListener.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface;
1616
use Symfony\Component\Security\Http\AccessMapInterface;
1717
use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
18-
use Psr\Log\LoggerInterface;
1918
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
2019
use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException;
2120
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
@@ -31,15 +30,13 @@ class AccessListener implements ListenerInterface
3130
private $accessDecisionManager;
3231
private $map;
3332
private $authManager;
34-
private $logger;
3533

36-
public function __construct(SecurityContextInterface $context, AccessDecisionManagerInterface $accessDecisionManager, AccessMapInterface $map, AuthenticationManagerInterface $authManager, LoggerInterface $logger = null)
34+
public function __construct(SecurityContextInterface $context, AccessDecisionManagerInterface $accessDecisionManager, AccessMapInterface $map, AuthenticationManagerInterface $authManager)
3735
{
3836
$this->context = $context;
3937
$this->accessDecisionManager = $accessDecisionManager;
4038
$this->map = $map;
4139
$this->authManager = $authManager;
42-
$this->logger = $logger;
4340
}
4441

4542
/**

0 commit comments

Comments
 (0)