From 16874738c64bd3b6cddfd051d458d778af0d864b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Tue, 26 Mar 2024 09:52:31 +0100 Subject: [PATCH] fix --- src/Traits/HasPrices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/HasPrices.php b/src/Traits/HasPrices.php index 5ebde25d..ed6d5049 100644 --- a/src/Traits/HasPrices.php +++ b/src/Traits/HasPrices.php @@ -79,6 +79,6 @@ public function isFree(): bool { $price = $this->getPrice(); - return is_null($price) || $price === 0; + return is_null($price) || $price === 0.0; } }