mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Remove types from method parameter
This commit is contained in:
@@ -406,7 +406,7 @@ class Cart
|
||||
*
|
||||
* @param float $discount
|
||||
*/
|
||||
public function setGlobalTax(float $taxRate)
|
||||
public function setGlobalTax($taxRate)
|
||||
{
|
||||
$this->taxRate = $taxRate;
|
||||
if ($this->content && $this->content->count()) {
|
||||
@@ -442,7 +442,7 @@ class Cart
|
||||
*
|
||||
* @param float $discount
|
||||
*/
|
||||
public function setGlobalDiscount(float $discount)
|
||||
public function setGlobalDiscount($discount)
|
||||
{
|
||||
$this->discount = $discount;
|
||||
if ($this->content && $this->content->count()) {
|
||||
|
||||
Reference in New Issue
Block a user