Passed
Push — master ( e1bf1d...e2980f )
by Evert
04:20 queued 01:54
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/VeloClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 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
 
Please login to merge, or discard this patch.
src/VeloServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,11 +24,11 @@
 block discarded – undo
24 24
         $this->app->bind(VeloStations::class);
25 25
 
26 26
         if (app()->environment('testing')) {
27
-            $this->app->bind('velo-stations', function () {
27
+            $this->app->bind('velo-stations', function() {
28 28
                 return new VeloStations(new VeloClientMock());
29 29
             });
30 30
         } else {
31
-            $this->app->bind('velo-stations', function () {
31
+            $this->app->bind('velo-stations', function() {
32 32
                 return new VeloStations(new VeloClient());
33 33
             });
34 34
         }
Please login to merge, or discard this patch.
src/Station.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/VeloStations.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.