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
+3 -1
View File
@@ -9,6 +9,7 @@ namespace CloudObjects\PhpMAE\Commands;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Command\Command;
use CloudObjects\SDK\COIDParser;
use CloudObjects\PhpMAE\ClassValidator;
@@ -20,7 +21,7 @@ class ClassDeployCommand extends AbstractObjectCommand {
->addArgument('coid', InputArgument::REQUIRED, 'The COID of the object.');
}
protected function execute(InputInterface $input, OutputInterface $output) {
protected function execute(InputInterface $input, OutputInterface $output): int {
$this->requireCloudObjectsCLI();
$this->parse($input->getArgument('coid'));
@@ -67,6 +68,7 @@ class ClassDeployCommand extends AbstractObjectCommand {
break;
}
$output->writeln("");
return Command::SUCCESS;
}
}