From 04fb9004687b364638d40a5c9fbd441a7fe52011 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sun, 6 Feb 2022 19:54:13 +0100 Subject: [PATCH] Update CanBeBought.php --- src/CanBeBought.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CanBeBought.php b/src/CanBeBought.php index 888b0aa..e4c3c51 100644 --- a/src/CanBeBought.php +++ b/src/CanBeBought.php @@ -58,7 +58,7 @@ trait CanBeBought /** * Get the taxRate of the Buyable item. */ - public function getBuyableTaxRate($options = null): float + public function getBuyableTaxRate(CartItemOptions $options): float { if (($taxRate = $this->getAttribute('taxRate'))) { return $taxRate;