Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 72f8b5a

Browse filesBrowse files
apiv-thomasjaviereguiluz
authored andcommitted
Replace GetResponseEvent with RequestEvent
1 parent 134a7f0 commit 72f8b5a
Copy full SHA for 72f8b5a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎security/form_login_setup.rst

Copy file name to clipboardExpand all lines: security/form_login_setup.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.