Completed
Push — master ( ecc817...c0bae2 )
by Randall
04:52
created
src/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
             return $attributes;
130 130
         }
131 131
 
132
-        return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function () use ($attributes) {
132
+        return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function() use ($attributes) {
133 133
             return $attributes;
134 134
         });
135 135
     }
Please login to merge, or discard this patch.
src/Process/Updater.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             $concatenatedPackages .= "\"{$name}:{$version}\" ";
38 38
         }
39 39
 
40
-        if (! empty($concatenatedPackages)) {
40
+        if (!empty($concatenatedPackages)) {
41 41
             $this->run("composer require {$concatenatedPackages}");
42 42
         }
43 43
     }
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             $concatenatedPackages .= "\"{$name}:{$version}\" ";
57 57
         }
58 58
 
59
-        if (! empty($concatenatedPackages)) {
59
+        if (!empty($concatenatedPackages)) {
60 60
             $this->run("composer require --dev {$concatenatedPackages}");
61 61
         }
62 62
     }
Please login to merge, or discard this patch.
src/Process/Installer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         $process->setTimeout($this->timeout);
139 139
 
140 140
         if ($this->console instanceof Command) {
141
-            $process->run(function ($type, $line) {
141
+            $process->run(function($type, $line) {
142 142
                 $this->console->line($line);
143 143
             });
144 144
         }
Please login to merge, or discard this patch.
src/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function toArray()
26 26
     {
27
-        return array_map(function ($value) {
27
+        return array_map(function($value) {
28 28
             if ($value instanceof Module) {
29 29
                 $attributes = $value->json()->getAttributes();
30 30
                 $attributes['path'] = $value->getPath();
Please login to merge, or discard this patch.