Skip to content

Commit 9c9e483

Browse files
committed
Fix CS
1 parent 29367bd commit 9c9e483

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Firewall.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Symfony\Component\HttpKernel\Event\FinishRequestEvent;
1616
use Symfony\Component\HttpKernel\Event\RequestEvent;
1717
use Symfony\Component\HttpKernel\KernelEvents;
18-
use Symfony\Component\Security\Http\Firewall\AbstractListener;
1918
use Symfony\Component\Security\Http\Firewall\AccessListener;
2019
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
2120

Tests/Firewall/ContextListenerTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,9 @@ private function handleEventWithPreviousSession($userProviders, UserInterface $u
399399

400400
$tokenStorage = new TokenStorage();
401401
$usageIndex = $session->getUsageIndex();
402-
$tokenStorage = new UsageTrackingTokenStorage($tokenStorage, new class([
403-
'session' => function () use ($session) { return $session; }
402+
$tokenStorage = new UsageTrackingTokenStorage($tokenStorage, new class(['session' => function () use ($session) {
403+
return $session;
404+
},
404405
]) implements ContainerInterface {
405406
use ServiceLocatorTrait;
406407
});

0 commit comments

Comments
 (0)