Skip to content

Commit 1c62383

Browse files
committed
minor symfony#17187 [Cache] Add return hint (mohamedGasmii)
This PR was merged into the 6.0 branch. Discussion ---------- [Cache] Add return hint Return hint for invalidate added in V6.0 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- d3b56df [Cache] Add return hint
2 parents 63a23b8 + d3b56df commit 1c62383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_cache/cache_invalidation.rst

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy