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 5bcf2c3 commit e083ab5Copy full SHA for e083ab5
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