Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Oct 27, 2024
1 parent 915a253 commit 181d978
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Middleware/GenerateMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 181d978

Please sign in to comment.