8000 minor #24329 Removed unused private property in the ContextListener (… · symfony/symfony@dd8cc88 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd8cc88

Browse files
minor #24329 Removed unused private property in the ContextListener (iltar)
This PR was merged into the 2.7 branch. Discussion ---------- Removed unused private property in the ContextListener | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #23882 (comment) | License | MIT | Doc PR | ~ The context property is unused, the local variable (constructor argument) is only concatenated to a string inside (session key). Commits ------- 6522c05 Removed unused private property
2 parents b90ce05 + 6522c05 commit dd8cc88

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/Security/Http/Firewall/ContextListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
class ContextListener implements ListenerInterface
3434
{
3535
private $tokenStorage;
36-
private $contextKey;
3736
private $sessionKey;
3837
private $logger;
3938
private $userProviders;
@@ -54,7 +53,6 @@ public function __construct(TokenStorageInterface $tokenStorage, array $userProv
5453

5554
$this->tokenStorage = $tokenStorage;
5655
$this->userProviders = $userProviders;
57-
$this->contextKey = $contextKey;
5856
$this->sessionKey = '_security_'.$contextKey;
5957
$this->logger = $logger;
6058
$this->dispatcher = $dispatcher;

0 commit comments

Comments
 (0)
0