From 1cba3e7beb4bafbbeca7fbc7cbb68444a8205755 Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 3 Feb 2022 00:39:17 +0100 Subject: [PATCH] Update CanBeBought.php --- src/CanBeBought.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CanBeBought.php b/src/CanBeBought.php index a3abba6..a5cbd44 100644 --- a/src/CanBeBought.php +++ b/src/CanBeBought.php @@ -45,7 +45,7 @@ trait CanBeBought /** * Get the weight of the Buyable item. */ - public function getBuyableWeight(): float + public function getBuyableWeight(): int { if (($weight = $this->getAttribute('weight'))) { return $weight;