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;