Skip to content

Commit d3b56df

Browse files
[Cache] Add return hint
Return hint for invalidate added in V6.0
1 parent 2cd9ab0 commit d3b56df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_cache/cache_invalidation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ to support the ``PURGE`` HTTP method::
6060

6161
class CacheKernel extends HttpCache
6262
{
63-
protected function invalidate(Request $request, bool $catch = false)
63+
protected function invalidate(Request $request, bool $catch = false): Response
6464
{
6565
if ('PURGE' !== $request->getMethod()) {
6666
return parent::invalidate($request, $catch);

0 commit comments

Comments
 (0)