Passed
Push — master ( 658590...f32e65 )
by Michael
02:12
created
src/HttpClient/Decorator/SymfonyEventDispatcherDecorator.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@
 block discarded – undo
81 81
 
82 82
         try {
83 83
             $response = $this->client->request($request);
84
-        }
85
-        catch (\Throwable $exception) {
84
+        } catch (\Throwable $exception) {
86 85
             $exceptionEvent = new ExceptionEvent($request, $exception);
87 86
             $this->dispatcher->dispatch($this->exceptionEvent, $exceptionEvent);
88 87
 
Please login to merge, or discard this patch.
src/HttpClient/HttpClient.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,7 @@
 block discarded – undo
88 88
 
89 89
         try {
90 90
             $response = $this->client->request($request);
91
-        }
92
-        catch (ResponseException $exception) {
91
+        } catch (ResponseException $exception) {
93 92
             if ($this->returnBadResponse) {
94 93
                 $response = $exception->getResponse();
95 94
                 return $this->handleResponse($response);
Please login to merge, or discard this patch.
src/HttpClient/Adapter/GuzzleAdapter.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         try {
43 43
             return $this->client->send($request);
44
-        }
45
-        catch (GuzzleRequestException $exception) {
44
+        } catch (GuzzleRequestException $exception) {
46 45
             throw $this->createException($exception);
47 46
         }
48 47
     }
Please login to merge, or discard this patch.