Bugfixings for getAllKeys()

This commit is contained in:
Philipp Holzer
2018-10-07 22:14:05 +02:00
parent 8491f8660f
commit 7da6da6666
5 changed files with 8 additions and 7 deletions

View File

@@ -65,7 +65,7 @@ class MemcachedCacheDriver extends AbstractCacheDriver implements IMemoryCacheDr
return $this->filterArrayKeysByPrefix($keys, $prefix);
} else {
logger('Memcached \'getAllKeys\' failed with ' . $this->memcached->getResultMessage(), LOGGER_ALL);
return null;
return [];
}
}