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 bb96fc7 + 9819c59 commit 9ecfd62Copy full SHA for 9ecfd62
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