[ticket/11768] Fixed return type in docblocks

PHPBB3-11768