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 8c97c17 commit 316238aCopy full SHA for 316238a
MemcachedCachePool.php
@@ -71,6 +71,8 @@ protected function storeItemInCache($key, CacheItemInterface $item, $ttl)
71
{
72
if ($ttl === null) {
73
$ttl = 0;
74
+ } elseif ($ttl < 0) {
75
+ return false;
76
}
77
78
$key = $this->getHierarchyKey($key);
0 commit comments