Skip to content

Commit afb1d15

Browse files
committed
Fixed #406
1 parent 8214fd0 commit afb1d15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/phpFastCache/Core/ExtendedCacheItemPoolTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public function appendItemsByTags(array $tagNames, $data)
253253
{
254254
$return = null;
255255
foreach ($tagNames as $tagName) {
256-
$result = $this->decrementItemsByTag($tagName, $data);
256+
$result = $this->appendItemsByTag($tagName, $data);
257257
if ($return !== false) {
258258
$return = $result;
259259
}
@@ -286,7 +286,7 @@ public function prependItemsByTags(array $tagNames, $data)
286286
{
287287
$return = null;
288288
foreach ($tagNames as $tagName) {
289-
$result = $this->decrementItemsByTag($tagName, $data);
289+
$result = $this->prependItemsByTag($tagName, $data);
290290
if ($return !== false) {
291291
$return = $result;
292292
}

0 commit comments

Comments
 (0)