mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
Update CartItem.php
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user