Test Failed
Push — master ( edca11...47e2d3 )
by Evert
03:52
created
src/VeloClient.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@  discard block
 block discarded – undo
83 83
         try
84 84
         {
85 85
             $stations = json_decode($response->getBody()->getContents())->stations;
86
-        }
87
-        catch (\ErrorException $e) {
86
+        } catch (\ErrorException $e) {
88 87
             throw new VeloException($e->getMessage(), $e->getCode());
89 88
         }
90 89
 
@@ -107,8 +106,7 @@  discard block
 block discarded – undo
107 106
         try
108 107
         {
109 108
             $stationsStatuses = json_decode($response->getBody()->getContents())->stationsStatus;
110
-        }
111
-        catch (\ErrorException $e) {
109
+        } catch (\ErrorException $e) {
112 110
             throw new VeloException($e->getMessage(), $e->getCode());
113 111
         }
114 112
 
Please login to merge, or discard this patch.