@@ -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 | |
@@ -13,9 +13,9 @@ |
||
| 13 | 13 | ], 'config'); |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | - /** |
|
| 17 | - * Register the service provider. |
|
| 18 | - */ |
|
| 16 | + /** |
|
| 17 | + * Register the service provider. |
|
| 18 | + */ |
|
| 19 | 19 | public function register() |
| 20 | 20 | { |
| 21 | 21 | $this->mergeConfigFrom(__DIR__.'/../config/laravel-velo-api.php', 'laravel-velo-api'); |