Passed
Push — master ( 23e4b6...12f961 )
by Evert
02:59 queued 14s
created
src/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('ddl')) {
3
+if (!function_exists('ddl')) {
4 4
     function ddl($var, ...$moreVars)
5 5
     {
6 6
         $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1);
Please login to merge, or discard this patch.
src/VeloServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         $this->mergeConfigFrom(__DIR__.'/../config/laravel-velo-api.php', 'laravel-velo-api');
22 22
 
23
-        $this->app->bind('velo', function () {
23
+        $this->app->bind('velo', function() {
24 24
             return new Velo(new VeloClient());
25 25
         });
26 26
     }
Please login to merge, or discard this patch.
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.