Update CanBeBought.php

This commit is contained in:
Patrick
2022-02-06 19:54:13 +01:00
committed by GitHub
parent 3f246caf1a
commit 04fb900468

View File

@@ -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;