resolve PHPDoc errors and typos