Fixed command interfaces

This commit is contained in:
2026-06-19 13:42:25 +00:00
parent 5f9f6ca2ff
commit 0027766a77
14 changed files with 39 additions and 14 deletions
@@ -22,7 +22,7 @@ class TestEnvironmentStartCommand extends Command {
->addOption('host', null, InputOption::VALUE_OPTIONAL, 'Bind test environment to this host.', '127.0.0.1');
}
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.");
@@ -49,6 +49,7 @@ class TestEnvironmentStartCommand extends Command {
die("THRU!");
}
}
return Command::SUCCESS;
}
}