Completed
Pull Request — master (#16)
by
unknown
14:55
created
src/merchants/coingate/CoinGateMerchant.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         return $this->gatewayFactory->build('CoinGate', [
26 26
             'apiKey'  => $this->credentials->getKey1(),
27
-           ]);
27
+            ]);
28 28
     }
29 29
 
30 30
     /**
Please login to merge, or discard this patch.
src/merchants/stripe/StripeMerchant.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
                 throw new MerchantException('Response is not successful');
83 83
             }
84 84
         } catch (Exception $exception) {
85
-            throw new MerchantException('Failed to refund a card: ' . $exception->getMessage(), $exception->getCode(), $exception);
85
+            throw new MerchantException('Failed to refund a card: '.$exception->getMessage(), $exception->getCode(), $exception);
86 86
         }
87 87
     }
88 88
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         }
153 153
 
154 154
         if (isset($response->getData()['error']['message'])) {
155
-            throw new MerchantException('Failed to charge card: ' . $response->getData()['error']['message']);
155
+            throw new MerchantException('Failed to charge card: '.$response->getData()['error']['message']);
156 156
         }
157 157
 
158 158
         throw new MerchantException('Failed to charge card');
Please login to merge, or discard this patch.
src/merchants/robokassa/RoboKassaTransactionFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
 
15 15
     public function getSuccessResponseText(ServerRequestInterface $request): ?string
16 16
     {
17
-        return 'OK' . $request->getParsedBody()['InvId']; // https://docs.robokassa.ru/#1250
17
+        return 'OK'.$request->getParsedBody()['InvId']; // https://docs.robokassa.ru/#1250
18 18
     }
19 19
 }
Please login to merge, or discard this patch.