Completed
Push — master ( f9e202...677b0b )
by Cesar
12s
created
src/Controller/Paypal/PaymentsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function payments(string $action)
32 32
     {
33
-        return $this->render('paypal/payments/'. $action .'.html.twig');
33
+        return $this->render('paypal/payments/' . $action . '.html.twig');
34 34
     }
35 35
 
36 36
     /**
Please login to merge, or discard this patch.
src/Service/AdyenService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     public function getPaymentMethods()
96 96
     {
97 97
         $params = [
98
-            "allowedPaymentMethods" => ["paypal","card"],
98
+            "allowedPaymentMethods" => ["paypal", "card"],
99 99
             "merchantAccount" => $this->merchantAccount,
100 100
             "countryCode" => $this->settingsService->getSetting('settings-customer-country'),
101 101
             "shopperLocale" => $this->settingsService->getSetting('settings-customer-locale'),
Please login to merge, or discard this patch.
src/Service/Paypal/BillingAgreementService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         return $this->doPaypalApiCall(
56 56
             $requestBody,
57 57
             'https://api.sandbox.paypal.com/v1/payments/payment',
58
-            ['PAYPAL-CLIENT-METADATA-ID: '.$fraudnetSession]
58
+            ['PAYPAL-CLIENT-METADATA-ID: ' . $fraudnetSession]
59 59
         );
60 60
     }
61 61
 
Please login to merge, or discard this patch.
src/Service/Paypal/AbstractPaypalService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             $statusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
36 36
             curl_close($ch);
37 37
         } catch (Exception $e) {
38
-            $this->logger->error('Error on PayPal::'.$url.' = ' . $e->getMessage());
38
+            $this->logger->error('Error on PayPal::' . $url . ' = ' . $e->getMessage());
39 39
             return null;
40 40
         }
41 41
         return ([
Please login to merge, or discard this patch.
src/Controller/Paypal/VaultController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         $customerId = $this->settingsService->getSetting('settings-customer-id');
27 27
         $dataClientToken = $this->paypalService->getVaultService()->getDataClientToken($customerId);
28
-        return $this->render('paypal/vault/'. $action .'.html.twig', [
28
+        return $this->render('paypal/vault/' . $action . '.html.twig', [
29 29
             'dataClientToken' => $dataClientToken,
30 30
         ]);
31 31
     }
Please login to merge, or discard this patch.