mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-24 07:55:35 +00:00
Update Cart.php
This commit is contained in:
10
src/Cart.php
10
src/Cart.php
@@ -46,7 +46,7 @@ class Cart
|
|||||||
private $discount = 0;
|
private $discount = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the tax rate
|
* Defines the tax rate.
|
||||||
*
|
*
|
||||||
* @var float
|
* @var float
|
||||||
*/
|
*/
|
||||||
@@ -126,10 +126,10 @@ class Cart
|
|||||||
/**
|
/**
|
||||||
* Add an item to the cart.
|
* Add an item to the cart.
|
||||||
*
|
*
|
||||||
* @param \Gloudemans\Shoppingcart\CartItem $item Item to add to the Cart
|
* @param \Gloudemans\Shoppingcart\CartItem $item Item to add to the Cart
|
||||||
* @param bool $keepDiscount Keep the discount rate of the Item
|
* @param bool $keepDiscount Keep the discount rate of the Item
|
||||||
* @param bool $keepTax Keep the Tax rate of the Item
|
* @param bool $keepTax Keep the Tax rate of the Item
|
||||||
* @param bool $dispatchEvent
|
* @param bool $dispatchEvent
|
||||||
*
|
*
|
||||||
* @return \Gloudemans\Shoppingcart\CartItem The CartItem
|
* @return \Gloudemans\Shoppingcart\CartItem The CartItem
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user