@@ -30,7 +30,7 @@ |
||
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 | /** |
@@ -35,7 +35,7 @@ |
||
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 ([ |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Hyperwallet\Exception\HyperwalletApiException; |
7 | 7 | use Hyperwallet\Model\User; |
8 | 8 | use Hyperwallet\Response\ListResponse; |
9 | -use Hyperwallet\Model\UserStatusTransition; |
|
10 | 9 | |
11 | 10 | /** |
12 | 11 | * Class UserService |
@@ -95,7 +95,7 @@ |
||
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'), |