diff --git a/src/Psr/CacheItemPool/CacheItemPoolDecorator.php b/src/Psr/CacheItemPool/CacheItemPoolDecorator.php index cadb7d8d0..6b3eb37c7 100644 --- a/src/Psr/CacheItemPool/CacheItemPoolDecorator.php +++ b/src/Psr/CacheItemPool/CacheItemPoolDecorator.php @@ -104,7 +104,7 @@ public function getItems(array $keys = []) $keys = array_diff($keys, array_keys($items)); - if (count($keys)) { + if ($keys) { try { $cacheItems = $this->storage->getItems($keys); } catch (Exception\InvalidArgumentException $e) {