Skip to content

Commit

Permalink
re-type the parameter as 3.x does no longer support Symfony 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Aug 2, 2024
1 parent 6823287 commit 4b53b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SymfonyCache/EventDispatchingHttpCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function invalidate(Request $request, bool $catch = false): Response
return parent::invalidate($request, $catch);
}

protected function forward(Request $request, $catch = false, ?Response $entry = null): Response
protected function forward(Request $request, bool $catch = false, ?Response $entry = null): Response
{
// do not abort early, if $entry is set this is a validation request
$this->dispatch(Events::PRE_FORWARD, $request, $entry);
Expand Down

0 comments on commit 4b53b92

Please sign in to comment.