[feature/migrations] Comments for the return in the custom functions

PHPBB3-11318