Skip to content

Commit 13cf7b2

Browse files
Symfony5の対応を行った。
1 parent a445d78 commit 13cf7b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/EventListener/SessionConfigurationListener.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;
1717
use Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface;
1818
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
19+
use Symfony\Component\HttpKernel\Event\RequestEvent;
1920
use Symfony\Component\Routing\RouterInterface;
2021

2122
class SessionConfigurationListener
@@ -41,9 +42,9 @@ public function __construct(RouterInterface $router, SessionStorageInterface $se
4142
}
4243

4344
/**
44-
* @param GetResponseEvent $event
45+
* @param RequestEvent $event
4546
*/
46-
public function onKernelRequest(GetResponseEvent $event)
47+
public function onKernelRequest(RequestEvent $event)
4748
{
4849
if ($this->sessionStorage === null) {
4950
return;

0 commit comments

Comments
 (0)