fix PHP 5.6 compatibility
This commit is contained in:
parent
0065f7579b
commit
5c82d301a7
@ -157,7 +157,9 @@ class TagAwareAdapter implements TagAwareAdapterInterface, PruneableInterface, R
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!($itemTags = $this->pool->getItem(static::TAGS_PREFIX.$key))->isHit()) {
|
||||
$itemTags = $this->pool->getItem(static::TAGS_PREFIX.$key);
|
||||
|
||||
if (!$itemTags->isHit()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user