Skip to content

Commit f362b28

Browse files
apiv-thomasjaviereguiluz
authored andcommitted
Added return value to make the example work as is
1 parent 7d60488 commit f362b28

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)