Coupon : rename

This commit is contained in:
gmorel
2013-11-23 22:31:18 +01:00
parent 4447dbcd9a
commit bcad9b5da1
3 changed files with 12 additions and 12 deletions

View File

@@ -103,7 +103,7 @@ class Coupon extends BaseAction implements EventSubscriberInterface
$couponManager = $this->container->get('thelia.coupon.manager');
/** @var CouponInterface $coupon */
$coupon = $couponFactory->buildCouponManagerFromCode($event->getCode());
$coupon = $couponFactory->buildCouponFromCode($event->getCode());
if ($coupon) {
$isValid = $coupon->isMatching();