diff --git a/src/Traits/CouponTrait.php b/src/Traits/CouponTrait.php index 02e0099..4fcfe81 100644 --- a/src/Traits/CouponTrait.php +++ b/src/Traits/CouponTrait.php @@ -151,7 +151,7 @@ public function checkValidTimes(Carbon $startDate, Carbon $endDate, $throwErrors * @param $code * @param $discount */ - public function setDiscountToItem($item, $code, $discount) + public function setDiscountOnItem($item, $code, $discount) { $item->code = $code; $item->discount = $discount;