Passed
Push — master ( 73ab27...288729 )
by Attila
01:17
created
src/Console/Commands/ModelsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,15 +60,15 @@
 block discarded – undo
60 60
     {
61 61
         $table = [];
62 62
 
63
-        $bindings->map(function ($item, $key) {
63
+        $bindings->map(function($item, $key) {
64 64
             return [
65 65
                 'shortName' => substr(strrchr($key, '\\'), 1),
66 66
                 'abstract'  => $key,
67 67
                 'concrete'  => $item
68 68
             ];
69
-        })->sort(function ($a, $b) {
69
+        })->sort(function($a, $b) {
70 70
             return $a['shortName'] > $b['shortName'];
71
-        })->each(function ($binding) use (&$table) {
71
+        })->each(function($binding) use (&$table) {
72 72
             $table[] = [
73 73
                 $binding['shortName'],
74 74
                 $binding['abstract'],
Please login to merge, or discard this patch.
src/Concord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 
106 106
         $implicitModules = $this->implicitModules;
107 107
 
108
-        return $this->modules->reject(function ($module) use ($implicitModules) {
108
+        return $this->modules->reject(function($module) use ($implicitModules) {
109 109
             return array_key_exists(get_class($module), $implicitModules);
110 110
         });
111 111
     }
Please login to merge, or discard this patch.
src/Console/Commands/EnumsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,15 +42,15 @@
 block discarded – undo
42 42
     {
43 43
         $table = [];
44 44
 
45
-        $bindings->map(function ($item, $key) {
45
+        $bindings->map(function($item, $key) {
46 46
             return [
47 47
                 'shortName' => shorten($key),
48 48
                 'abstract'  => $key,
49 49
                 'concrete'  => $item
50 50
             ];
51
-        })->sort(function ($a, $b) {
51
+        })->sort(function($a, $b) {
52 52
             return $a['shortName'] > $b['shortName'];
53
-        })->each(function ($binding) use (&$table) {
53
+        })->each(function($binding) use (&$table) {
54 54
             $table[] = [
55 55
                 $binding['shortName'],
56 56
                 $binding['abstract'],
Please login to merge, or discard this patch.
src/Console/Commands/RequestsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,15 +42,15 @@
 block discarded – undo
42 42
     {
43 43
         $table = [];
44 44
 
45
-        $bindings->map(function ($item, $key) {
45
+        $bindings->map(function($item, $key) {
46 46
             return [
47 47
                 'shortName' => shorten($key),
48 48
                 'abstract'  => $key,
49 49
                 'concrete'  => $item
50 50
             ];
51
-        })->sort(function ($a, $b) {
51
+        })->sort(function($a, $b) {
52 52
             return $a['shortName'] > $b['shortName'];
53
-        })->each(function ($binding) use (&$table) {
53
+        })->each(function($binding) use (&$table) {
54 54
             $table[] = [
55 55
                 $binding['shortName'],
56 56
                 $binding['abstract'],
Please login to merge, or discard this patch.
src/Routing/RouteRegistrar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     public function registerAllRoutes()
35 35
     {
36
-        $routeFiles = collect(File::glob($this->getRoutesFolder() . '/*.php'))->map(function ($file) {
36
+        $routeFiles = collect(File::glob($this->getRoutesFolder() . '/*.php'))->map(function($file) {
37 37
             return File::name($file);
38 38
         })->all();
39 39
 
Please login to merge, or discard this patch.
src/Support/functions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         $parts = Arr::except($parts, count($parts) - 1);
35 35
     }
36 36
 
37
-    array_walk($parts, function (&$part) {
37
+    array_walk($parts, function(&$part) {
38 38
         $part = Str::snake($part);
39 39
     });
40 40
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 {
57 57
     $parts = explode('.', $str);
58 58
 
59
-    array_walk($parts, function (&$part) {
59
+    array_walk($parts, function(&$part) {
60 60
         $part = Str::studly($part);
61 61
     });
62 62
 
@@ -87,10 +87,10 @@  discard block
 block discarded – undo
87 87
         $vendorAndModule = empty($parts[0]) ? Arr::only($parts, 1) : Arr::only($parts, 0);
88 88
     } else {
89 89
         $parts           = explode('\\', $classname);
90
-        $vendorAndModule = empty($parts[0]) ? Arr::only($parts, [1,2]) : Arr::only($parts, [0,1]);
90
+        $vendorAndModule = empty($parts[0]) ? Arr::only($parts, [1, 2]) : Arr::only($parts, [0, 1]);
91 91
     }
92 92
 
93
-    array_walk($vendorAndModule, function (&$part) {
93
+    array_walk($vendorAndModule, function(&$part) {
94 94
         $part = Str::snake($part);
95 95
     });
96 96
 
Please login to merge, or discard this patch.
src/BaseServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
             '',
74 74
             static::class
75 75
         );
76
-        $this->id            = $this->getModuleId();
76
+        $this->id = $this->getModuleId();
77 77
     }
78 78
 
79 79
     public function register()
Please login to merge, or discard this patch.