Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Jan 6, 2016
1 parent 924332f commit 1124574
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"require":
{
"php": "^5.5|^7.0",
"ext-chain": "*",
"psr/cache": "1.0.0",
"cache/adapter-common": "^0.1",
"cache/taggable-cache": "^0.2"
Expand Down
4 changes: 2 additions & 2 deletions src/CachePoolChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function getItems(array $keys = [], array $tags = [])
{
$hits = [];
foreach ($this->pools as $pool) {
$items = $pool->getItem($keys, $tags);
$items = $pool->getItems($keys, $tags);
/** @var CacheItemInterface $item */
foreach ($items as $item) {
if ($item->isHit()) {
Expand Down Expand Up @@ -108,7 +108,7 @@ public function deleteItems(array $keys, array $tags = [])
{
$result = true;
foreach ($this->pools as $pool) {
$result = $result && $pool->deleteItem($keys, $tags);
$result = $result && $pool->deleteItems($keys, $tags);
}

return $result;
Expand Down

0 comments on commit 1124574

Please sign in to comment.