Remove types from method parameter

This commit is contained in:
Patrick Henninger
2018-12-21 19:06:59 +01:00
parent 9fbc9cd927
commit b39e78db5d

View File

@@ -406,7 +406,7 @@ class Cart
* *
* @param float $discount * @param float $discount
*/ */
public function setGlobalTax(float $taxRate) public function setGlobalTax($taxRate)
{ {
$this->taxRate = $taxRate; $this->taxRate = $taxRate;
if ($this->content && $this->content->count()) { if ($this->content && $this->content->count()) {
@@ -442,7 +442,7 @@ class Cart
* *
* @param float $discount * @param float $discount
*/ */
public function setGlobalDiscount(float $discount) public function setGlobalDiscount($discount)
{ {
$this->discount = $discount; $this->discount = $discount;
if ($this->content && $this->content->count()) { if ($this->content && $this->content->count()) {