From c2f92ae9f06caf1abe9663338b51b858f41c2725 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 18 Jan 2022 00:23:09 +0100 Subject: [PATCH] Update CanBeBought.php --- src/CanBeBought.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CanBeBought.php b/src/CanBeBought.php index 43ce19b..4f305b3 100644 --- a/src/CanBeBought.php +++ b/src/CanBeBought.php @@ -9,7 +9,7 @@ trait CanBeBought * * @return int|string */ - public function getBuyableIdentifier($options = null) + public function getBuyableIdentifier() { return method_exists($this, 'getKey') ? $this->getKey() : $this->id; } @@ -19,7 +19,7 @@ trait CanBeBought * * @return string */ - public function getBuyableDescription($options = null) + public function getBuyableDescription() { if (($name = $this->getAttribute('name'))) { return $name; @@ -39,7 +39,7 @@ trait CanBeBought * * @return float */ - public function getBuyablePrice($options = null) + public function getBuyablePrice() { if (($price = $this->getAttribute('price'))) { return $price; @@ -51,7 +51,7 @@ trait CanBeBought * * @return float */ - public function getBuyableWeight($options = null) + public function getBuyableWeight() { if (($weight = $this->getAttribute('weight'))) { return $weight;