Passed
Pull Request — master (#64)
by Cesar
03:57
created
controllers/front/payment.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
         $pagantisPublicKey = Configuration::get('pagantis_public_key');
87 87
         $pagantisPrivateKey = Configuration::get('pagantis_private_key');
88 88
         $okUrl = _PS_BASE_URL_SSL_.__PS_BASE_URI__
89
-                 .'index.php?canonical=true&fc=module&module=pagantis&controller=notify&origin=redirect&'
90
-                 .http_build_query($query)
89
+                    .'index.php?canonical=true&fc=module&module=pagantis&controller=notify&origin=redirect&'
90
+                    .http_build_query($query)
91 91
         ;
92 92
         $notificationOkUrl = _PS_BASE_URL_SSL_.__PS_BASE_URI__
93 93
             .'index.php?canonical=true&fc=module&module=pagantis&controller=notify&origin=notification&'
@@ -194,9 +194,9 @@  discard block
 block discarded – undo
194 194
                     $productId = $item['id_product'];
195 195
                     $finalPrice = Product::getPriceStatic($productId);
196 196
                     $promotedMessage = 'Promoted Item: ' . $product->getDescription() .
197
-                         ' Price: ' . $finalPrice .
198
-                         ' Qty: ' . $product->getQuantity() .
199
-                         ' Item ID: ' . $item['id_product'];
197
+                            ' Price: ' . $finalPrice .
198
+                            ' Qty: ' . $product->getQuantity() .
199
+                            ' Item ID: ' . $item['id_product'];
200 200
                     $metadataOrder->addMetadata('promotedProduct', $promotedMessage);
201 201
                 }
202 202
                 $details->addProduct($product);
Please login to merge, or discard this patch.