fixed types in phpdoc