@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | |
45 | 45 | $access_token = json_decode($response->getBody()->getContents())->access_token; |
46 | 46 | |
47 | - if (! empty($access_token)) { |
|
47 | + if (!empty($access_token)) { |
|
48 | 48 | return $access_token; |
49 | 49 | } |
50 | 50 | |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | $stations = $this->fetchStations(); |
124 | 124 | $statuses = $this->fetchStationsStatuses(); |
125 | 125 | |
126 | - $stationsWithStatus = $stations->map(function ($station) use ($statuses) { |
|
126 | + $stationsWithStatus = $stations->map(function($station) use ($statuses) { |
|
127 | 127 | return (object) array_merge((array) $station, (array) collect($statuses)->firstWhere('id', $station->id)); |
128 | 128 | }); |
129 | 129 |