We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12c6dbf commit d0955c2Copy full SHA for d0955c2
src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
@@ -718,7 +718,7 @@ private function mayServeStaleWhileRevalidate(Response $entry): bool
718
$timeout = $this->options['stale_while_revalidate'];
719
}
720
721
- return abs($entry->getTtl()) < $timeout;
+ return abs($entry->getTtl() ?? 0) < $timeout;
722
723
724
/**
0 commit comments