8000
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 e0f9b69 + 4a6814f commit 59802c2Copy full SHA for 59802c2
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