From b16c0d28a58a698ff9b44775d161eadaf104df6f Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Wed, 23 Oct 2024 10:33:45 +0000 Subject: [PATCH] fix make:plugin command, fixes #4743 Closes #4743 Merge request studip/studip!3541 --- cli/Commands/Make/Plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/Commands/Make/Plugin.php b/cli/Commands/Make/Plugin.php index f361f342f12..1405c6b050a 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 ?: []; } } -- GitLab