Skip to content

Commit

Permalink
Symfony5の対応を行った。
Browse files Browse the repository at this point in the history
  • Loading branch information
MasaakiYoshida committed Jul 13, 2022
1 parent 13cf7b2 commit fa168dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/EventListener/SessionConfigurationListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;
use Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\HttpKernel\Event\RequestEvent;
use Symfony\Component\Routing\RouterInterface;

class SessionConfigurationListener
Expand All @@ -42,9 +41,9 @@ public function __construct(RouterInterface $router, SessionStorageInterface $se
}

/**
* @param RequestEvent $event
* @param GetResponseEvent $event
*/
public function onKernelRequest(RequestEvent $event)
public function onKernelRequest(GetResponseEvent $event)
{
if ($this->sessionStorage === null) {
return;
Expand Down

0 comments on commit fa168dc

Please sign in to comment.