mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-24 07:55:35 +00:00
Update BuyableProduct.php
This commit is contained in:
@@ -60,7 +60,7 @@ class BuyableProduct extends Model implements Buyable
|
|||||||
/**
|
/**
|
||||||
* Get the price of the Buyable item.
|
* Get the price of the Buyable item.
|
||||||
*/
|
*/
|
||||||
public function getBuyableWeight(): float
|
public function getBuyableWeight(): int
|
||||||
{
|
{
|
||||||
return $this->weight;
|
return $this->weight;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user