Skip to content
Permalink
Browse files

Use PHP properly.

Refs #11845
  • Loading branch information...
markstory committed Mar 19, 2018
1 parent d4515b4 commit d6f026ab8ca74eec1b93417e4f49c93fd97fb8e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Cache/Engine/MemcachedEngine.php
@@ -500,7 +500,7 @@ public function groups()
}
}
$groups = (array)$this->_Memcached->getMulti($this->_compiledGroupNames);
$groups = $this->_Memcached->getMulti($this->_compiledGroupNames) ?: [];
if (count($groups) !== count($this->_config['groups'])) {
foreach ($this->_compiledGroupNames as $group) {
if (!isset($groups[$group])) {

0 comments on commit d6f026a

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.