Update CanBeBought.php

This commit is contained in:
Patrick
2022-02-03 00:39:17 +01:00
committed by GitHub
parent cbcc8efaa0
commit 1cba3e7beb

View File

@@ -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;