mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 10:44:32 +00:00
Merge pull request #158 from macbookandrew/refactor-moneyphp
fix missing semicolon
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -68,4 +68,9 @@ class BuyableProduct extends Model implements Buyable
|
||||
{
|
||||
return $this->weight;
|
||||
}
|
||||
|
||||
public function getBuyableTaxRate(CartItemOptions $options): float
|
||||
{
|
||||
return $this->tax_rate;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user