Skip to content

Commit

Permalink
Use isMainRequest to prevent deprecation problems
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalheidmann committed Apr 2, 2023
1 parent 063f603 commit 090dea6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function onKernelResponse(ResponseEvent $event): void
}

$request = $event->getRequest();
if (!$event->isMasterRequest()) {
if (!$event->isMainRequest()) {
return;
}

Expand Down

0 comments on commit 090dea6

Please sign in to comment.