Update BuyableProduct.php

This commit is contained in:
Patrick
2022-01-18 00:27:10 +01:00
committed by GitHub
parent 090eadcd4b
commit e104a06f72

View File

@@ -33,7 +33,7 @@ class BuyableProduct extends Model implements Buyable
*
* @return int|string
*/
public function getBuyableIdentifier($options = null)
public function getBuyableIdentifier()
{
return $this->id;
}
@@ -43,7 +43,7 @@ class BuyableProduct extends Model implements Buyable
*
* @return string
*/
public function getBuyableDescription($options = null)
public function getBuyableDescription() : ?string
{
return $this->name;
}
@@ -53,7 +53,7 @@ class BuyableProduct extends Model implements Buyable
*
* @return float
*/
public function getBuyablePrice($options = null)
public function getBuyablePrice()
{
return $this->price;
}
@@ -63,7 +63,7 @@ class BuyableProduct extends Model implements Buyable
*
* @return float
*/
public function getBuyableWeight($options = null)
public function getBuyableWeight()
{
return $this->weight;
}