Completed
Pull Request — master (#1873)
by
unknown
10:08
created
src/Publishing/Publisher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,11 +168,11 @@
 block discarded – undo
168 168
      */
169 169
     public function publish(): void
170 170
     {
171
-        if (! $this->getFilesystem()->isDirectory($sourcePath = $this->getSourcePath())) {
171
+        if (!$this->getFilesystem()->isDirectory($sourcePath = $this->getSourcePath())) {
172 172
             return;
173 173
         }
174 174
 
175
-        if (! $this->getFilesystem()->isDirectory($destinationPath = $this->getDestinationPath())) {
175
+        if (!$this->getFilesystem()->isDirectory($destinationPath = $this->getDestinationPath())) {
176 176
             $this->getFilesystem()->makeDirectory($destinationPath, 0775, true);
177 177
         }
178 178
 
Please login to merge, or discard this patch.
src/Process/Installer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
 
140 140
         $process->setTimeout($this->timeout);
141 141
 
142
-        $process->run(function ($type, $line) {
142
+        $process->run(function($type, $line) {
143 143
             $this->console->line($line);
144 144
         });
145 145
 
Please login to merge, or discard this patch.
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.