Skip to content

Commit 59802c2

Browse files
committed
Merge branch '5.4' into 6.2
* 5.4: [Console] Minor tweaks
2 parents e0f9b69 + 4a6814f commit 59802c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

console/calling_commands.rst

+1-1
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

+1-1
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)