Bugfixings for getAllKeys()

This commit is contained in:
Philipp Holzer 2018-10-07 22:14:05 +02:00
parent 8491f8660f
commit 7da6da6666
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
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 [];
}
}