We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f8a9651 + 59802c2 commit ab5f867Copy full SHA for ab5f867
console/calling_commands.rst
@@ -27,7 +27,7 @@ method)::
27
{
28
// ...
29
30
- protected function execute(InputInterface $input, OutputInterface $output): void
+ protected function execute(InputInterface $input, OutputInterface $output): int
31
32
$command = $this->getApplication()->find('demo:greet');
33
console/verbosity.rst
@@ -69,7 +69,7 @@ level. For example::
69
OutputInterface::VERBOSITY_VERBOSE
70
);
71
72
- return 0;
+ return Command::SUCCESS;
73
}
74
75
0 commit comments