From c3d33a37f6638c94c16beada68a1480cf727adf5 Mon Sep 17 00:00:00 2001 From: Patrick Henninger Date: Sun, 6 Feb 2022 00:13:56 +0100 Subject: [PATCH] Fix recursion --- src/CartItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CartItem.php b/src/CartItem.php index 38cfecb..41f8356 100644 --- a/src/CartItem.php +++ b/src/CartItem.php @@ -169,7 +169,7 @@ class CartItem implements Arrayable, Jsonable */ public function price(): Money { - return $this->price()->multiply($this->qty); + return $this->price->multiply($this->qty); } /**