mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 15:41:24 +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.
|
||||
*/
|
||||
public function getBuyableWeight(): float
|
||||
public function getBuyableWeight(): int
|
||||
{
|
||||
return $this->weight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user