Update return type in phpdocs