Fixed command interfaces

This commit is contained in:
lukas committed 2026-06-19 13:42:25 +00:00
1 parent 5f9f6ca2ff
commit 0027766a77
14 files changed
+39 -14

No files matched your search

+2 -1
View File
@@ -110,7 +110,7 @@ class ClassCreateCommand extends Command {
];
}
protected function execute(InputInterface $input, OutputInterface $output) {
protected function execute(InputInterface $input, OutputInterface $output): int {
if (!CredentialManager::isConfigured())
throw new \Exception("The 'cloudobjects' CLI tool must be installed and authorized.");
@@ -238,6 +238,7 @@ class ClassCreateCommand extends Command {
$output->writeln("Calling cloudobjects ...");
passthru("cloudobjects configuration-job:create ".$fullName.".xml");
}
return Command::SUCCESS;
}
}