Skip to content

Commit b59ca10

Browse files
Symfony5の対応を行った。
1 parent fa168dc commit b59ca10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/EventListener/SessionConfigurationListener.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\HttpFoundation\Session\SessionInterface;
1616
use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;
1717
use Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface;
18-
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
18+
use Symfony\Component\HttpKernel\Event\RequestEvent;
1919
use Symfony\Component\Routing\RouterInterface;
2020

2121
class SessionConfigurationListener
@@ -41,9 +41,9 @@ public function __construct(RouterInterface $router, SessionStorageInterface $se
4141
}
4242

4343
/**
44-
* @param GetResponseEvent $event
44+
* @param RequestEvent $event
4545
*/
46-
public function onKernelRequest(GetResponseEvent $event)
46+
public function onKernelRequest(RequestEvent $event)
4747
{
4848
if ($this->sessionStorage === null) {
4949
return;

0 commit comments

Comments
 (0)