Skip to content

Commit

Permalink
Changing name of function to set coupon
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepolo committed Nov 6, 2015
1 parent 04c1454 commit db1cfe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/CouponTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit db1cfe7

Please sign in to comment.