Passed
Push — master ( 6a587c...b0844f )
by Carl
04:24
created
Models/Adapters/KycDocumentQuery.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         KycDocumentTranslator $kycDocumentTranslator
35 35
     ) {
36 36
         $this->kycDocumentTranslator = $kycDocumentTranslator;
37
-        parent::__construct($clientId, $clientPassword, $baseUrl,$mangoPayApi, $logger);
37
+        parent::__construct($clientId, $clientPassword, $baseUrl, $mangoPayApi, $logger);
38 38
     }
39 39
 
40 40
     public function create(KycDocument $kycDocumentDto, $shouldSubmit = false)
@@ -47,10 +47,10 @@  discard block
 block discarded – undo
47 47
             }
48 48
             $mangoKycDocument = $this->mangoPayApi->Users->CreateKycDocument($UserId, $mangoKycDocument);
49 49
 
50
-        } catch(ResponseException $e) {
50
+        } catch (ResponseException $e) {
51 51
             $this->logger->addCritical($e->getMessage(), ['code' => $e->getCode(), 'details' => $e->GetErrorDetails()]);
52 52
             return new PartFireException($e->getMessage(), $e->getCode());
53
-        } catch(Exception $e) {
53
+        } catch (Exception $e) {
54 54
             $this->logger->addError($e->getMessage());
55 55
             return new PartFireException($e->getMessage(), $e->getCode());
56 56
         }
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
     {
67 67
         try {
68 68
             $mangoKycDocument = $this->mangoPayApi->Users->GetKycDocument($kycDocumentId);
69
-        } catch(ResponseException $e) {
69
+        } catch (ResponseException $e) {
70 70
             $this->logger->addCritical($e->getMessage(), ['code' => $e->getCode(), 'details' => $e->GetErrorDetails()]);
71 71
             return new PartFireException($e->getMessage(), $e->getCode());
72
-        } catch(Exception $e) {
72
+        } catch (Exception $e) {
73 73
             $this->logger->addError($e->getMessage());
74 74
             return new PartFireException($e->getMessage(), $e->getCode());
75 75
         }
Please login to merge, or discard this patch.