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::
435435
436436 use Symfony\Component\EventDispatcher\EventSubscriberInterface; 
437437 use Symfony\Component\HttpFoundation\Session\SessionInterface; 
438-  use Symfony\Component\HttpKernel\Event\GetResponseEvent ; 
438+  use Symfony\Component\HttpKernel\Event\RequestEvent ; 
439439 use Symfony\Component\HttpKernel\KernelEvents; 
440440 use Symfony\Component\Security\Http\Util\TargetPathTrait; 
441441
@@ -450,7 +450,7 @@ whenever the user browses a page::
450450 $this->session = $session; 
451451 } 
452452
453-  public function onKernelRequest(GetResponseEvent  $event): void 
453+  public function onKernelRequest(RequestEvent  $event): void 
454454 { 
455455 $request = $event->getRequest(); 
456456 if (!$event->isMasterRequest() || $request->isXmlHttpRequest()) { 
                         You can’t perform that action at this time. 
           
                  
0 commit comments