Completed
Pull Request — master (#1873)
by
unknown
10:08
created
src/Module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.