Skip to content

Commit 55d84fa

Browse files
authored
Merge pull request #584 from FriendsOfSymfony/2-to-3
2 to 3
2 parents d8a8d8e + 4b53b92 commit 55d84fa

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,19 @@ See also the [GitHub releases page](https://github.com/FriendsOfSymfony/FOSHttpC
4040
2.x
4141
===
4242

43-
2.16.1
43+
2.16.2
4444
------
4545

4646
### Fixed
4747

4848
* The new `EventDispatchingHttpCache::forward` method added in 2.16.0 was not
4949
compatible with Symfony 4.4. Adjusted the signature to make it compatible.
5050

51+
2.16.1
52+
------
53+
54+
(Mistaken tag, same as 2.16.0)
55+
5156
2.16.0
5257
------
5358

src/SymfonyCache/EventDispatchingHttpCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected function invalidate(Request $request, bool $catch = false): Response
120120
return parent::invalidate($request, $catch);
121121
}
122122

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

0 commit comments

Comments
 (0)