Passed
Push — main ( 5320a7...b58d22 )
by Dan
10:42
created
src/Message/PurchaseRequest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -221,8 +221,7 @@
 block discarded – undo
221 221
 
222 222
         try {
223 223
             $responseData = json_decode($httpResponse->getBody()->getContents());
224
-        }
225
-        catch (\Exception $exception) {
224
+        } catch (\Exception $exception) {
226 225
             $responseData = [];
227 226
         }
228 227
 
Please login to merge, or discard this patch.
src/Message/CompletePurchaseRequest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
 
29 29
         try {
30 30
             $httpResponse = $this->httpClient->request('GET', $this->getEndpoint('sessions/' . $sessionId), $headers);
31
-        }
32
-        catch (\Exception $exception) {
31
+        } catch (\Exception $exception) {
33 32
             throw new InvalidRequestException($exception->getMessage());
34 33
         }
35 34
 
Please login to merge, or discard this patch.
src/Message/AcceptNotification.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
 
33 33
         try {
34 34
             $httpResponse = $this->httpClient->request('GET', $this->getEndpoint('sessions/' . $sessionId), $headers);
35
-        }
36
-        catch (\Exception $exception) {
35
+        } catch (\Exception $exception) {
37 36
             throw new InvalidRequestException($exception->getMessage());
38 37
         }
39 38
 
Please login to merge, or discard this patch.