Completed
Push — master ( 02f68d...d0258d )
by Paweł
03:13
created
src/Validator/ValidPromotionCouponCodeValidator.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
         /** @var PromotionCouponInterface $coupon */
71 71
         $coupon = $this->promotionCouponRepository->findOneBy(['code' => $command->couponCode()]);
72 72
 
73
-        if (null === $coupon || !$this->couponEligibilityChecker->isEligible($cart, $coupon))
74
-        {
73
+        if (null === $coupon || !$this->couponEligibilityChecker->isEligible($cart, $coupon)) {
75 74
             $this->buildViolation($constraint);
76 75
 
77 76
             return;
Please login to merge, or discard this patch.