It would be interesting if you handle phpdoc types as actual types with automatic resolution by adding methods addDocType($type, $description), getDocTypes and getTypeHint, setTypeHint for the default typing. The getTypes will return a merge of both.
I don't know what you exactly need it for, but the goal of this library is to generate code, not class representations (a reflection), so I think it wouldn't be able to do these things.
Hi,
It would be interesting if you handle phpdoc types as actual types with automatic resolution by adding methods addDocType($type, $description), getDocTypes and getTypeHint, setTypeHint for the default typing. The getTypes will return a merge of both.
Using https://github.com/Roave/BetterReflection will make it easier.
If you are interested in can create a PR for that.