minor #33974 [Cache] fix PHP 5.6 compatibility (xabbuh)
This PR was merged into the 3.4 branch.
Discussion
----------
[Cache] fix PHP 5.6 compatibility
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR |
Commits
-------
5c82d301a7
fix PHP 5.6 compatibility
This commit is contained in:
commit
fb2a7a3d35
@ -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