From 1b866e50e65b0527a3fc10ac4d39f7d87a9bff37 Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 3 Feb 2022 00:18:36 +0100 Subject: [PATCH] Update Cart.php --- src/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }