From ad95835db0faacecc4ccc1a035af27c0b8f091ee Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 3 Feb 2022 00:22:07 +0100 Subject: [PATCH] Update Buyable.php --- src/Contracts/Buyable.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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; }