fixed types in phpdocs