[ticket/12610] Add return status and doc blocks

Add a return status for command update:check.

PHPBB3-12610