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.
2 parents 86210a1 + e083ab5 commit db3cd17Copy full SHA for db3cd17
1 file changed
lib/Phpfastcache/Helper/CacheConditionalHelper.php
@@ -50,6 +50,7 @@ public function get(string $cacheKey, callable $callback, $expiresAfter = null)
50
$cacheItem = $this->cacheInstance->getItem($cacheKey);
51
52
if (!$cacheItem->isHit()) {
53
+ /** Parameter $cacheItem will be available as of 8.0.6 */
54
$cacheItem->set($callback($cacheItem));
55
if ($expiresAfter) {
56
$cacheItem->expiresAfter($expiresAfter);
0 commit comments