mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 07:31:31 +00:00
Update CartItem.php
This commit is contained in:
@@ -171,7 +171,7 @@ class CartItem implements Arrayable, Jsonable
|
||||
/**
|
||||
* Set the discount rate.
|
||||
*/
|
||||
public function setDiscount(float $discount) : self
|
||||
public function setDiscountRate(float $discountRate) : self
|
||||
{
|
||||
$this->discountRate = $discountRate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user