phpdoc and change some types