Passed
Pull Request — master (#83)
by
unknown
02:48
created
controllers/paymentController4x.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -257,9 +257,9 @@  discard block
 block discarded – undo
257 257
                 if ($promotedProduct == 'true') {
258 258
                     $promotedAmount+=$product->getAmount();
259 259
                     $promotedMessage = 'Promoted Item: ' . $wcProduct->get_name() .
260
-                                       ' - Price: ' . $item->get_total() .
261
-                                       ' - Qty: ' . $product->getQuantity() .
262
-                                       ' - Item ID: ' . $item['id_product'];
260
+                                        ' - Price: ' . $item->get_total() .
261
+                                        ' - Qty: ' . $product->getQuantity() .
262
+                                        ' - Item ID: ' . $item['id_product'];
263 263
                     $promotedMessage = substr($promotedMessage, 0, 999);
264 264
                     $metadataOrder->addMetadata('promotedProduct', $promotedMessage);
265 265
                 }
@@ -275,10 +275,10 @@  discard block
 block discarded – undo
275 275
             $orderConfigurationUrls = new Urls();
276 276
             $cancelUrl = $this->getKoUrl($order);
277 277
             $callback_arg = array('wc-api'=>'wcpagantisgateway',
278
-                                  'key'=>$order->get_order_key(),
279
-                                  'order-received'=>$order->get_id(),
280
-                                  'origin' => '',
281
-                                  'token' => $this->urlToken4x
278
+                                    'key'=>$order->get_order_key(),
279
+                                    'order-received'=>$order->get_id(),
280
+                                    'origin' => '',
281
+                                    'token' => $this->urlToken4x
282 282
 
283 283
             );
284 284
 
Please login to merge, or discard this patch.