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.
1 parent be6407e commit 4851eddCopy full SHA for 4851edd
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