Skip to content

Commit

Permalink
Adding defaultm essage
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepolo committed Nov 6, 2015
1 parent 510163b commit 80e8945
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 @@ -70,7 +70,7 @@ public function getMessage()
try {
$this->discount(true);

return true;
return 'Coupon Applied';
} catch (\Exception $e) {
return $e->getMessage();
}
Expand Down

0 comments on commit 80e8945

Please sign in to comment.