Skip to content

Commit dab5617

Browse files
committed
Merge branch '4.4'
* 4.4: Replace GetResponseEvent with RequestEvent
2 parents 1d25878 + f0ad1f7 commit dab5617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security/form_login_setup.rst

Lines 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)