@@ -168,11 +168,11 @@ |
||
168 | 168 | */ |
169 | 169 | public function publish(): void |
170 | 170 | { |
171 | - if (! $this->getFilesystem()->isDirectory($sourcePath = $this->getSourcePath())) { |
|
171 | + if (!$this->getFilesystem()->isDirectory($sourcePath = $this->getSourcePath())) { |
|
172 | 172 | return; |
173 | 173 | } |
174 | 174 | |
175 | - if (! $this->getFilesystem()->isDirectory($destinationPath = $this->getDestinationPath())) { |
|
175 | + if (!$this->getFilesystem()->isDirectory($destinationPath = $this->getDestinationPath())) { |
|
176 | 176 | $this->getFilesystem()->makeDirectory($destinationPath, 0775, true); |
177 | 177 | } |
178 | 178 |
@@ -139,7 +139,7 @@ |
||
139 | 139 | |
140 | 140 | $process->setTimeout($this->timeout); |
141 | 141 | |
142 | - $process->run(function ($type, $line) { |
|
142 | + $process->run(function($type, $line) { |
|
143 | 143 | $this->console->line($line); |
144 | 144 | }); |
145 | 145 |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * |
22 | 22 | * @var Application|Container |
23 | 23 | */ |
24 | - protected Container|Application $app; |
|
24 | + protected Container | Application $app; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * The module name. |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | $file = 'module.json'; |
222 | 222 | } |
223 | 223 | |
224 | - return Arr::get($this->moduleJson, $file, function () use ($file) { |
|
224 | + return Arr::get($this->moduleJson, $file, function() use ($file) { |
|
225 | 225 | return $this->moduleJson[$file] = new Json($this->getPath().'/'.$file, $this->files); |
226 | 226 | }); |
227 | 227 | } |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | */ |
333 | 333 | public function isDisabled(): bool |
334 | 334 | { |
335 | - return ! $this->isEnabled(); |
|
335 | + return !$this->isEnabled(); |
|
336 | 336 | } |
337 | 337 | |
338 | 338 | /** |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | { |
395 | 395 | return config('modules.register.files', 'register') === 'boot' && |
396 | 396 | // force register method if option == boot && app is AsgardCms |
397 | - ! class_exists('\Modules\Core\Foundation\AsgardCms'); |
|
397 | + !class_exists('\Modules\Core\Foundation\AsgardCms'); |
|
398 | 398 | } |
399 | 399 | |
400 | 400 | private function flushCache(): void |