Fixed command interfaces
This commit is contained in:
@@ -10,6 +10,7 @@ use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use ML\IRI\IRI;
|
||||
use Guzzle\Http\Exception\BadResponseException;
|
||||
use CloudObjects\SDK\COIDParser;
|
||||
@@ -55,7 +56,7 @@ class ClassTestEnvCommand extends AbstractObjectCommand {
|
||||
}
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output) {
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int {
|
||||
$this->requireCloudObjectsCLI();
|
||||
|
||||
$container = $this->getContainer();
|
||||
@@ -93,6 +94,7 @@ class ClassTestEnvCommand extends AbstractObjectCommand {
|
||||
$cmd->upload($output);
|
||||
});
|
||||
}
|
||||
return Command::SUCCESS;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user