mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Update CanBeBought.php
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user