I want to make use of the scalar typehinting of PHP7. I have the latest PS version (10.0.0.2) but something goes wrong. When I add scalar typehintinh to my function, the PHPDoc tells me that it wrong. I have to namespace the scalartype to remove the error in my phpdoc. Considder this screenshot:
The first two functions are misunderstanding my typehinting and wants to namespacing the type. What I want is the third function, but PhpStorm cannot resolve its type and says that the PhpDoc param is not the same as the type in the function body.
For the record: These functions are written in a namespaced class.