aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/cache/Cache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/classes/cache/Cache.php')
-rw-r--r--lib/classes/cache/Cache.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/classes/cache/Cache.php b/lib/classes/cache/Cache.php
index d66bf4c..97f294c 100644
--- a/lib/classes/cache/Cache.php
+++ b/lib/classes/cache/Cache.php
@@ -149,10 +149,7 @@ abstract class Cache implements CacheItemPoolInterface
{
$items = [];
foreach ($keys as $key) {
- $item = $this->getItem($key);
- if ($item instanceof Item) {
- $items[] = $item;
- }
+ $items[$key] = $this->getItem($key);
}
return $items;
}