Merge pull request #158 from macbookandrew/refactor-moneyphp

fix missing semicolon
This commit is contained in:
Patrick
2022-03-08 20:47:32 +01:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

View File

@@ -28,9 +28,9 @@ interface Buyable
* Get the weight of the Buyable item.
*/
public function getBuyableWeight(CartItemOptions $options): int;
/**
* Get the taxRate of the Buyable item.
*/
public function getBuyableTaxRate(CartItemOptions $options): float
public function getBuyableTaxRate(CartItemOptions $options): float;
}

View File

@@ -68,4 +68,9 @@ class BuyableProduct extends Model implements Buyable
{
return $this->weight;
}
public function getBuyableTaxRate(CartItemOptions $options): float
{
return $this->tax_rate;
}
}