File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ whenever the user browses a page::
435
435
436
436
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
437
437
use Symfony\Component\HttpFoundation\Session\SessionInterface;
438
- use Symfony\Component\HttpKernel\Event\GetResponseEvent ;
438
+ use Symfony\Component\HttpKernel\Event\RequestEvent ;
439
439
use Symfony\Component\HttpKernel\KernelEvents;
440
440
use Symfony\Component\Security\Http\Util\TargetPathTrait;
441
441
@@ -450,7 +450,7 @@ whenever the user browses a page::
450
450
$this->session = $session;
451
451
}
452
452
453
- public function onKernelRequest(GetResponseEvent $event): void
453
+ public function onKernelRequest(RequestEvent $event): void
454
454
{
455
455
$request = $event->getRequest();
456
456
if (!$event->isMasterRequest() || $request->isXmlHttpRequest()) {
You can’t perform that action at this time.
0 commit comments