[ticket/10411] Add return value to move functions

PHPBB3-10411