Update BuyableProduct.php

This commit is contained in:
Patrick
2022-02-03 00:38:05 +01:00
committed by GitHub
parent 5024b48554
commit cbcc8efaa0

View File

@@ -60,7 +60,7 @@ class BuyableProduct extends Model implements Buyable
/**
* Get the price of the Buyable item.
*/
public function getBuyableWeight(): float
public function getBuyableWeight(): int
{
return $this->weight;
}