Update CartItem.php

This commit is contained in:
Patrick
2022-02-05 19:24:34 +01:00
committed by GitHub
parent 177bf6a5d9
commit 9711c97545

View File

@@ -171,7 +171,7 @@ class CartItem implements Arrayable, Jsonable
/** /**
* Set the discount rate. * Set the discount rate.
*/ */
public function setDiscount(float $discount) : self public function setDiscountRate(float $discountRate) : self
{ {
$this->discountRate = $discountRate; $this->discountRate = $discountRate;