diff --git a/src/Cart.php b/src/Cart.php index bda4149..aae56b5 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -366,7 +366,7 @@ class Cart public function priceTotal(): Money { return $this->getContent()->reduce(function (Money $initial, CartItem $cartItem) { - return $initial->add($cartItem->priceTotal) + return $initial->add($cartItem->priceTotal); }, new Money()); }