diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-10-23 10:33:45 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-10-23 10:33:45 +0000 |
| commit | b16c0d28a58a698ff9b44775d161eadaf104df6f (patch) | |
| tree | 3dd866dbe924ca090d6cdee8ee9462961b2c2673 | |
| parent | 07dd571a8007a8413e7f4ae3c388d4702036af88 (diff) | |
fix make:plugin command, fixes #4743
Closes #4743
Merge request studip/studip!3541
| -rw-r--r-- | cli/Commands/Make/Plugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/Commands/Make/Plugin.php b/cli/Commands/Make/Plugin.php index f361f34..1405c6b 100644 --- a/cli/Commands/Make/Plugin.php +++ b/cli/Commands/Make/Plugin.php @@ -24,7 +24,7 @@ final class Plugin extends Command \AdministrationPlugin::class, \DetailspagePlugin::class, \ExternPagePlugin::class, - \FileSystemPlugin::class, + \FilesystemPlugin::class, \FileUploadHook::class, \ForumModule::class, \HomepagePlugin::class, @@ -369,6 +369,6 @@ final class Plugin extends Command return [$controllers => ['index']]; } - return $controllers; + return $controllers ?: []; } } |
