Skip to content

Commit fa168dc

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/EventListener/SessionConfigurationListener.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
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;
2019
use Symfony\Component\Routing\RouterInterface;
2120

2221
class SessionConfigurationListener
@@ -42,9 +41,9 @@ public function __construct(RouterInterface $router, SessionStorageInterface $se
4241
}
4342

4443
/**
45-
* @param RequestEvent $event
44+
* @param GetResponseEvent $event
4645
*/
47-
public function onKernelRequest(RequestEvent $event)
46+
public function onKernelRequest(GetResponseEvent $event)
4847
{
4948
if ($this->sessionStorage === null) {
5049
return;

0 commit comments

Comments
 (0)