Skip to content

Commit dcd86b5

Browse files
committed
minor #13708 Added return value to make the example work as is (apiv-thomas)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead. Discussion ---------- Added return value to make the example work as is <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- f362b28 Added return value to make the example work as is
2 parents 7d60488 + f362b28 commit dcd86b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

console/commands_as_services.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ For example, suppose you want to log something from within your command::
4545
{
4646
$this->logger->info('Waking up the sun');
4747
// ...
48+
49+
return 0;
4850
}
4951
}
5052

0 commit comments

Comments
 (0)