diff --git a/console/commands_as_services.rst b/console/commands_as_services.rst index a184fda33db..de58e4e00b1 100644 --- a/console/commands_as_services.rst +++ b/console/commands_as_services.rst @@ -45,6 +45,8 @@ For example, suppose you want to log something from within your command:: { $this->logger->info('Waking up the sun'); // ... + + return 0; } }