Resolve phpdoc errors