From 13cf7b2e3ff850390aa5518236c60466d3ca77b9 Mon Sep 17 00:00:00 2001 From: Yoshida Masaaki Date: Mon, 11 Jul 2022 16:36:18 +0900 Subject: [PATCH] =?UTF-8?q?Symfony5=E3=81=AE=E5=AF=BE=E5=BF=9C=E3=82=92?= =?UTF-8?q?=E8=A1=8C=E3=81=A3=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/EventListener/SessionConfigurationListener.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/EventListener/SessionConfigurationListener.php b/src/EventListener/SessionConfigurationListener.php index 3188168..5c88e44 100644 --- a/src/EventListener/SessionConfigurationListener.php +++ b/src/EventListener/SessionConfigurationListener.php @@ -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 @@ -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;