fix phpdoc (the return value can be Name object)