Skip to content

Commit

Permalink
Symfony5の対応を行った。
Browse files Browse the repository at this point in the history
  • Loading branch information
MasaakiYoshida committed Jul 19, 2022
1 parent ddd20b5 commit 3e73e46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/EventListener/SessionConfigurationListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
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 @@ -41,9 +42,9 @@ public function __construct(RouterInterface $router, SessionStorageInterface $se
}

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

0 comments on commit 3e73e46

Please sign in to comment.