Skip to content

Commit 4a6814f

Browse files
committed
minor #18550 [Console] Minor tweaks (alexandre-daubois)
This PR was merged into the 5.4 branch. Discussion ---------- [Console] Minor tweaks . Commits ------- 4851edd [Console] Minor tweaks
2 parents 3a88483 + 4851edd commit 4a6814f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

console/calling_commands.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ method)::
2727
{
2828
// ...
2929

30-
protected function execute(InputInterface $input, OutputInterface $output): void
30+
protected function execute(InputInterface $input, OutputInterface $output): int
3131
{
3232
$command = $this->getApplication()->find('demo:greet');
3333

console/verbosity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ level. For example::
6969
OutputInterface::VERBOSITY_VERBOSE
7070
);
7171

72-
return 0;
72+
return Command::SUCCESS;
7373
}
7474
}
7575

0 commit comments

Comments
 (0)