Passed
Push — master ( 23e4b6...12f961 )
by Evert
02:59 queued 14s
created
src/VeloClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.