aboutsummaryrefslogtreecommitdiff
path: root/cli/studip
diff options
context:
space:
mode:
Diffstat (limited to 'cli/studip')
-rwxr-xr-xcli/studip4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/studip b/cli/studip
index a70492f..784bacb 100755
--- a/cli/studip
+++ b/cli/studip
@@ -18,7 +18,7 @@ $application->run();
function loadCoreCommands(): array
{
$commands = require __DIR__ . '/commands.php';
- return array_map(fn($command) => studipApp($command), $commands);
+ return array_map(fn($command) => app($command), $commands);
}
function loadPluginCommands(Application $application): array
@@ -77,7 +77,7 @@ function getPluginCommands(Application $application, array $manifest): array
foreach ($commandsFn($application) as $class => $path) {
require_once $path;
- $commands[] = studipApp($class);
+ $commands[] = app($class);
}
return $commands;