Skip to content

Commit 1124574

Browse files
committed
bugfixes
1 parent 924332f commit 1124574

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"require":
2929
{
3030
"php": "^5.5|^7.0",
31-
"ext-chain": "*",
3231
"psr/cache": "1.0.0",
3332
"cache/adapter-common": "^0.1",
3433
"cache/taggable-cache": "^0.2"

src/CachePoolChain.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getItems(array $keys = [], array $tags = [])
5656
{
5757
$hits = [];
5858
foreach ($this->pools as $pool) {
59-
$items = $pool->getItem($keys, $tags);
59+
$items = $pool->getItems($keys, $tags);
6060
/** @var CacheItemInterface $item */
6161
foreach ($items as $item) {
6262
if ($item->isHit()) {
@@ -108,7 +108,7 @@ public function deleteItems(array $keys, array $tags = [])
108108
{
109109
$result = true;
110110
foreach ($this->pools as $pool) {
111-
$result = $result && $pool->deleteItem($keys, $tags);
111+
$result = $result && $pool->deleteItems($keys, $tags);
112112
}
113113

114114
return $result;

0 commit comments

Comments
 (0)