@@ -28,7 +28,7 @@ |
||
28 | 28 | |
29 | 29 | public function __get($key) |
30 | 30 | { |
31 | - if (! isset($this->values[$key])) { |
|
31 | + if (!isset($this->values[$key])) { |
|
32 | 32 | return; |
33 | 33 | } |
34 | 34 |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | public function all() |
15 | 15 | { |
16 | - $stations = $this->veloClient->fetchStations()->map(function ($station) { |
|
16 | + $stations = $this->veloClient->fetchStations()->map(function($station) { |
|
17 | 17 | return new Station($station); |
18 | 18 | }); |
19 | 19 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | $stations = $this->all(); |
26 | 26 | $statuses = $this->statuses(); |
27 | 27 | |
28 | - $stationsWithStatus = $stations->map(function ($station) use ($statuses) { |
|
28 | + $stationsWithStatus = $stations->map(function($station) use ($statuses) { |
|
29 | 29 | $station->setStatus(collect($statuses)->firstWhere('id', $station->id)); |
30 | 30 | |
31 | 31 | return $station; |