@@ -83,8 +83,7 @@ discard block |
||
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 |
||
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 |