removed useless return value and phpdoc