Fix incorrect PHPDoc and return statement