@@ -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 |