diff --git a/console/lockable_trait.rst b/console/lockable_trait.rst index 7f751d09012..74c4c2a5870 100644 --- a/console/lockable_trait.rst +++ b/console/lockable_trait.rst @@ -38,6 +38,8 @@ that adds two convenient methods to lock and release commands:: // if not released explicitly, Symfony releases the lock // automatically when the execution of the command ends $this->release(); + + return 0; } }