diff --git a/src/EventListener/SessionConfigurationListener.php b/src/EventListener/SessionConfigurationListener.php index 5c88e44..3188168 100644 --- a/src/EventListener/SessionConfigurationListener.php +++ b/src/EventListener/SessionConfigurationListener.php @@ -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 @@ -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;