MDL-42323 coursecat: Changed phpdocs in deprecated function get_categories