Update Cart.php

This commit is contained in:
Patrick
2019-11-19 01:36:09 +01:00
committed by GitHub
parent 1341863d65
commit 8383901fba

View File

@@ -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
*/ */