| @@ -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 | } | 
| @@ -328,7 +328,7 @@ discard block | ||
| 328 | 328 | */ | 
| 329 | 329 | public function isDisabled(): bool | 
| 330 | 330 |      { | 
| 331 | - return ! $this->isEnabled(); | |
| 331 | + return !$this->isEnabled(); | |
| 332 | 332 | } | 
| 333 | 333 | |
| 334 | 334 | /** | 
| @@ -384,7 +384,7 @@ discard block | ||
| 384 | 384 | */ | 
| 385 | 385 | public function getExtraPath(?string $path): string | 
| 386 | 386 |      { | 
| 387 | - return $this->getPath() . ($path ? '/' . $path : ''); | |
| 387 | + return $this->getPath().($path ? '/'.$path : ''); | |
| 388 | 388 | } | 
| 389 | 389 | |
| 390 | 390 | /** | 
| @@ -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 | /** |