At the moment only phpdoc-style comments are parsed to determine the expected types of a function/method; we could definitely improve that