Passed
Push — feature/eco-2635-amazon-psd2-a... ( e3557f...8790e7 )
by Volodymyr
04:26
created
src/SprykerEco/Yves/AmazonPay/Controller/PaymentController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
 
153 153
         $this->saveQuoteIntoSession($quoteTransfer);
154 154
 
155
-        if  (!$quoteTransfer->getAmazonpayPayment()->getOrderReferenceStatus()->getState() === AmazonPayConfig::STATUS_OPEN) {
155
+        if (!$quoteTransfer->getAmazonpayPayment()->getOrderReferenceStatus()->getState() === AmazonPayConfig::STATUS_OPEN) {
156 156
             return new JsonResponse([
157 157
                 'success' => false,
158 158
             ], 400);
Please login to merge, or discard this patch.