@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | Logger $logger, |
37 | 37 | WalletTranslator $walletTranslator |
38 | 38 | ) { |
39 | - parent::__construct($clientId, $clientPassword, $baseUrl,$mangoPayApi, $logger); |
|
39 | + parent::__construct($clientId, $clientPassword, $baseUrl, $mangoPayApi, $logger); |
|
40 | 40 | $this->walletTranslator = $walletTranslator; |
41 | 41 | } |
42 | 42 | |
@@ -45,10 +45,10 @@ discard block |
||
45 | 45 | $mangoWallet = $this->walletTranslator->convertDTOToMangoPayWallet($walletDto); |
46 | 46 | try { |
47 | 47 | $mangoWallet = $this->mangoPayApi->Wallets->Create($mangoWallet); |
48 | - } catch(MangoPay\Libraries\ResponseException $e) { |
|
48 | + } catch (MangoPay\Libraries\ResponseException $e) { |
|
49 | 49 | $this->logger->addCritical($e->getMessage(), ['code' => $e->getCode(), 'details' => $e->GetErrorDetails()]); |
50 | 50 | return new PartFireException($e->getMessage(), $e->getCode()); |
51 | - } catch(MangoPay\Libraries\Exception $e) { |
|
51 | + } catch (MangoPay\Libraries\Exception $e) { |
|
52 | 52 | $this->logger->addError($e->getMessage()); |
53 | 53 | return new PartFireException($e->getMessage(), $e->getCode()); |
54 | 54 | } |