Fixed phpdocs for functions.