Fixed command interfaces
This commit is contained in:
@@ -10,6 +10,7 @@ use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use CloudObjects\SDK\COIDParser;
|
||||
|
||||
class DependenciesAddClassCommand extends AbstractAddDependenciesCommand {
|
||||
@@ -24,7 +25,7 @@ class DependenciesAddClassCommand extends AbstractAddDependenciesCommand {
|
||||
parent::configure();
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output) {
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int {
|
||||
$this->requireCloudObjectsCLI();
|
||||
|
||||
$this->parse($input->getArgument('coid-target'));
|
||||
@@ -73,6 +74,7 @@ class DependenciesAddClassCommand extends AbstractAddDependenciesCommand {
|
||||
$output->writeln("You can find the documentation for the available class methods on this page:");
|
||||
$output->writeln("➡️ https://cloudobjects.io/".$coidClass->getHost().$coidClass->getPath());
|
||||
$output->writeln("");
|
||||
return Command::SUCCESS;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user