Completed
Pull Request — master (#1941)
by
unknown
09:37
created
src/Module.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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
     }
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
      */
329 329
     public function isDisabled(): bool
330 330
     {
331
-        return ! $this->isEnabled();
331
+        return !$this->isEnabled();
332 332
     }
333 333
 
334 334
     /**
@@ -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
     /**
Please login to merge, or discard this patch.
src/Activators/FileActivator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     public function hasStatus(Module $module, bool $status): bool
90 90
     {
91
-        if (! isset($this->modulesStatuses[$module->getName()])) {
91
+        if (!isset($this->modulesStatuses[$module->getName()])) {
92 92
             return $status === false;
93 93
         }
94 94
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      */
118 118
     public function delete(Module $module): void
119 119
     {
120
-        if (! isset($this->modulesStatuses[$module->getName()])) {
120
+        if (!isset($this->modulesStatuses[$module->getName()])) {
121 121
             return;
122 122
         }
123 123
         unset($this->modulesStatuses[$module->getName()]);
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     private function readJson(): array
141 141
     {
142
-        if (! $this->files->exists($this->statusesFile)) {
142
+        if (!$this->files->exists($this->statusesFile)) {
143 143
             return [];
144 144
         }
145 145
 
Please login to merge, or discard this patch.