@@ -129,7 +129,7 @@ |
||
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 | } |
@@ -37,7 +37,7 @@ discard block |
||
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 |
||
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 | } |
@@ -138,7 +138,7 @@ |
||
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 | } |
@@ -24,7 +24,7 @@ |
||
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(); |