Fix spaces in Cache\Memcachedriver

This commit is contained in:
Hypolite Petovan 2018-10-03 00:24:26 -04:00 committed by GitHub
parent c80045edaf
commit 2a7327a41c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,10 +47,10 @@ class MemcacheCacheDriver extends AbstractCacheDriver implements IMemoryCacheDri
{
$list = [];
$allSlabs = $this->memcache->getExtendedStats('slabs');
foreach($allSlabs as $slabs) {
foreach(array_keys($slabs) as $slabId) {
foreach ($allSlabs as $slabs) {
foreach (array_keys($slabs) as $slabId) {
$cachedump = $this->memcache->getExtendedStats('cachedump', (int)$slabId);
foreach($cachedump as $keys => $arrVal) {
foreach ($cachedump as $keys => $arrVal) {
if (!is_array($arrVal)) {
continue;
}