Skip to content

Commit

Permalink
fix styleci
Browse files Browse the repository at this point in the history
  • Loading branch information
usu committed May 2, 2024
1 parent 0c0c4e7 commit cb5a0a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

namespace FOS\HttpCacheBundle\Security\Http\Logout;

use Symfony\Component\Security\Http\Event\LogoutEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use FOS\HttpCacheBundle\UserContextInvalidator;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\Security\Http\Event\LogoutEvent;

final class ContextInvalidationSessionLogoutHandler implements EventSubscriberInterface
{
Expand Down
3 changes: 1 addition & 2 deletions tests/Functional/SessionHelperTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Event\RequestEvent;
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\HttpKernel\KernelEvents;

/**
Expand All @@ -24,7 +23,7 @@ private function callInRequestContext(KernelBrowser $client, callable $callable)
{
/** @var EventDispatcherInterface $eventDispatcher */
$eventDispatcher = self::$kernel->getContainer()->get('test.service_container')->get(EventDispatcherInterface::class);
;

$wrappedCallable = function (RequestEvent $event) use (&$callable) {
try {
$callable($event);
Expand Down

0 comments on commit cb5a0a6

Please sign in to comment.