|
@@ -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.