From eeb9c03f3d278b67cdaf9de35b88ad7bd4fca256 Mon Sep 17 00:00:00 2001 From: Abdelhamid Errahmouni Date: Fri, 3 Nov 2023 17:33:29 +0100 Subject: [PATCH] change the amount type in Price.php class to fix division by 100 error --- src/Helpers/Price.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helpers/Price.php b/src/Helpers/Price.php index b167d912d..ece7fe1eb 100644 --- a/src/Helpers/Price.php +++ b/src/Helpers/Price.php @@ -10,7 +10,7 @@ class Price { use HasPrice; - public int $amount; + public int|float $amount; public string $formatted;