Passed
Pull Request — master (#50)
by Raúl
05:43 queued 17s
created
controllers/front/payment.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,8 +88,8 @@  discard block
 block discarded – undo
88 88
         $pagantisPublicKey = Configuration::get('pagantis_public_key');
89 89
         $pagantisPrivateKey = Configuration::get('pagantis_private_key');
90 90
         $okUrl = _PS_BASE_URL_SSL_.__PS_BASE_URI__
91
-                 .'index.php?canonical=true&fc=module&module=pagantis&controller=notify&'
92
-                 .http_build_query($query)
91
+                    .'index.php?canonical=true&fc=module&module=pagantis&controller=notify&'
92
+                    .http_build_query($query)
93 93
         ;
94 94
 
95 95
         $shippingAddress = new Address($cart->id_address_delivery);
@@ -191,9 +191,9 @@  discard block
 block discarded – undo
191 191
                     $promotedAmount+=$product->getAmount();
192 192
                     $finalPrice = Product::getPriceStatic($item['id_product']);
193 193
                     $promotedMessage = 'Promoted Item: ' . $product->getDescription() .
194
-                         ' Price: ' . $finalPrice .
195
-                         ' Qty: ' . $product->getQuantity() .
196
-                         ' Item ID: ' . $item['id_product'];
194
+                            ' Price: ' . $finalPrice .
195
+                            ' Qty: ' . $product->getQuantity() .
196
+                            ' Item ID: ' . $item['id_product'];
197 197
                     $metadataOrder->addMetadata('promotedProduct', $promotedMessage);
198 198
                 }
199 199
                 $details->addProduct($product);
Please login to merge, or discard this patch.