diff --git a/CHANGELOG.md b/CHANGELOG.md index 55ffc686..2f9dade9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,7 +40,7 @@ See also the [GitHub releases page](https://github.com/FriendsOfSymfony/FOSHttpC 2.x === -2.16.1 +2.16.2 ------ ### Fixed @@ -48,6 +48,11 @@ See also the [GitHub releases page](https://github.com/FriendsOfSymfony/FOSHttpC * The new `EventDispatchingHttpCache::forward` method added in 2.16.0 was not compatible with Symfony 4.4. Adjusted the signature to make it compatible. +2.16.1 +------ + +(Mistaken tag, same as 2.16.0) + 2.16.0 ------ diff --git a/src/SymfonyCache/EventDispatchingHttpCache.php b/src/SymfonyCache/EventDispatchingHttpCache.php index 65e86dbe..4fc74f0a 100644 --- a/src/SymfonyCache/EventDispatchingHttpCache.php +++ b/src/SymfonyCache/EventDispatchingHttpCache.php @@ -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);