From 8ef2db464bd9118ae976bdb30a2d846fc818bcac Mon Sep 17 00:00:00 2001 From: Marc Bennewitz Date: Sat, 31 Oct 2015 16:17:08 +0100 Subject: [PATCH] fixed AbstractAdapter::internalDecrementItems * was calling decrementItem instead of internalDecrementItem * triggered events for buld decrement as well as for every items --- src/Storage/Adapter/AbstractAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storage/Adapter/AbstractAdapter.php b/src/Storage/Adapter/AbstractAdapter.php index cdcc2a65b..149f1a304 100644 --- a/src/Storage/Adapter/AbstractAdapter.php +++ b/src/Storage/Adapter/AbstractAdapter.php @@ -1466,7 +1466,7 @@ protected function internalDecrementItems(array & $normalizedKeyValuePairs) { $result = []; foreach ($normalizedKeyValuePairs as $normalizedKey => $value) { - $newValue = $this->decrementItem($normalizedKey, $value); + $newValue = $this->internalDecrementItem($normalizedKey, $value); if ($newValue !== false) { $result[$normalizedKey] = $newValue; }