Skip to content

Commit

Permalink
fix: undefined constant MASTER_REQUEST (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshah4517 authored May 13, 2024
1 parent 5ae3d9b commit 9b6dc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClosureHttpKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function setClosure(callable $closure)
*
* @return Response A Response instance
*/
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true): Response
public function handle(Request $request, $type = HttpKernelInterface::MAIN_REQUEST, $catch = true): Response
{
$closure = $this->closure;

Expand Down

0 comments on commit 9b6dc44

Please sign in to comment.