From 80e89458cd8d6bfef9cc71cf8e67f27a6034797d Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Fri, 6 Nov 2015 16:11:57 +0000 Subject: [PATCH] Adding defaultm essage --- src/Traits/CouponTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/CouponTrait.php b/src/Traits/CouponTrait.php index b1c9ba3..02e0099 100644 --- a/src/Traits/CouponTrait.php +++ b/src/Traits/CouponTrait.php @@ -70,7 +70,7 @@ public function getMessage() try { $this->discount(true); - return true; + return 'Coupon Applied'; } catch (\Exception $e) { return $e->getMessage(); }