Passed
Pull Request — main (#5227)
by
unknown
07:41
created
app/Services/Composer/VendorModuleService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         }
74 74
 
75 75
         return Collection::make($this->getInstalledWebtreesModules())
76
-            ->map(function (string $packageName): ModuleCustomInterface|null {
76
+            ->map(function (string $packageName): ModuleCustomInterface | null {
77 77
                 $module = $this->loadVendorModule($packageName);
78 78
 
79 79
                 if (!($module instanceof ModuleCustomInterface)) {
@@ -156,8 +156,8 @@  discard block
 block discarded – undo
156 156
         $moduleFile = null;
157 157
 
158 158
         // Look for the module.php file
159
-        if (file_exists($packagePath . DIRECTORY_SEPARATOR  . 'module.php')) {
160
-            $moduleFile = $packagePath . DIRECTORY_SEPARATOR  . 'module.php';
159
+        if (file_exists($packagePath . DIRECTORY_SEPARATOR . 'module.php')) {
160
+            $moduleFile = $packagePath . DIRECTORY_SEPARATOR . 'module.php';
161 161
         }
162 162
 
163 163
         if ($moduleFile === null) {
Please login to merge, or discard this patch.