From f362b28280123656bcdced3fa1c46cb56beae14f Mon Sep 17 00:00:00 2001 From: Thomas <53090992+apiv-thomas@users.noreply.github.com> Date: Tue, 26 May 2020 14:50:00 +0200 Subject: [PATCH] Added return value to make the example work as is --- console/commands_as_services.rst | 2 ++ 1 file changed, 2 insertions(+) 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; } }