mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
Update CanBeBought.php
This commit is contained in:
@@ -58,7 +58,7 @@ trait CanBeBought
|
|||||||
/**
|
/**
|
||||||
* Get the taxRate of the Buyable item.
|
* Get the taxRate of the Buyable item.
|
||||||
*/
|
*/
|
||||||
public function getBuyableTaxRate($options = null): float
|
public function getBuyableTaxRate(CartItemOptions $options): float
|
||||||
{
|
{
|
||||||
if (($taxRate = $this->getAttribute('taxRate'))) {
|
if (($taxRate = $this->getAttribute('taxRate'))) {
|
||||||
return $taxRate;
|
return $taxRate;
|
||||||
|
|||||||
Reference in New Issue
Block a user