diff --git a/src/Contracts/Buyable.php b/src/Contracts/Buyable.php index a6baff5..65e4e3d 100644 --- a/src/Contracts/Buyable.php +++ b/src/Contracts/Buyable.php @@ -2,6 +2,8 @@ namespace Gloudemans\Shoppingcart\Contracts; +use Money\Money; + interface Buyable { /** @@ -18,15 +20,11 @@ interface Buyable /** * Get the price of the Buyable item. - * - * @return float */ - public function getBuyablePrice(); + public function getBuyablePrice(): Money; /** * Get the weight of the Buyable item. - * - * @return float */ - public function getBuyableWeight(); + public function getBuyableWeight(): int; }