Completed
Pull Request — master (#2118)
by
unknown
08:44
created
src/Module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
             $file = 'module.json';
209 209
         }
210 210
 
211
-        return Arr::get($this->moduleJson, $file, function () use ($file) {
211
+        return Arr::get($this->moduleJson, $file, function() use ($file) {
212 212
             return $this->moduleJson[$file] = new Json($this->getPath().'/'.$file, $this->files);
213 213
         });
214 214
     }
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
      */
308 308
     public function isDisabled(): bool
309 309
     {
310
-        return ! $this->isEnabled();
310
+        return !$this->isEnabled();
311 311
     }
312 312
 
313 313
     /**
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
     {
374 374
         return config('modules.register.files', 'register') === 'boot' &&
375 375
             // force register method if option == boot && app is AsgardCms
376
-            ! class_exists('\Modules\Core\Foundation\AsgardCms');
376
+            !class_exists('\Modules\Core\Foundation\AsgardCms');
377 377
     }
378 378
 
379 379
     /**
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
     private function loadTranslationsFrom(string $path, string $namespace): void
383 383
     {
384 384
         // Use afterResolving to ensure translations are registered when translator becomes available
385
-        $this->app->afterResolving('translator', function ($translator) use ($path, $namespace) {
385
+        $this->app->afterResolving('translator', function($translator) use ($path, $namespace) {
386 386
             $translator->addNamespace($namespace, $path);
387 387
         });
388 388
     }
Please login to merge, or discard this patch.