From 8c3bd2ce19f3f940665faf91bb709e7c7f93be8b Mon Sep 17 00:00:00 2001 From: Patrick Date: Sat, 5 Feb 2022 19:27:59 +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 3eb9ede..4d3bbcc 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -516,7 +516,7 @@ class Cart * * @return void */ - public function setGlobalDiscount($discount): void + public function setGlobalDiscount(float $discount): void { $this->discount = $discount;