From 181d978880272b3ca226444b8815882411d03433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Lochm=C3=BCller?= Date: Sun, 27 Oct 2024 21:41:29 +0100 Subject: [PATCH] Cleanup --- Classes/Middleware/GenerateMiddleware.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/Middleware/GenerateMiddleware.php b/Classes/Middleware/GenerateMiddleware.php index 269479cdf09..9a48bce7591 100644 --- a/Classes/Middleware/GenerateMiddleware.php +++ b/Classes/Middleware/GenerateMiddleware.php @@ -95,6 +95,7 @@ protected function calculateLifetime(RequestInterface $request, ResponseInterfac /** @var CacheDataCollector $frontendCacheCollector */ /* @phpstan-ignore-next-line */ $frontendCacheCollector = $request->getAttribute('frontend.cache.collector'); + /* @phpstan-ignore-next-line */ return $frontendCacheCollector->resolveLifetime(); }