Closed willemstuursma closed 10 years ago
:+1:
I asked Alexy as he is the man with the knowledge on the deep internals http://devnet.jetbrains.com/message/5513098#5513098
:+1:
:+1:
:+1:
There is a jar here that should cover it https://github.com/pbyrne84/DynamicReturnTypePlugin/blob/master/deploy/DynamicReturnTypePlugin.zip
Unzip it to your plugin directory over the current one and see if it solves your your problem. plugin mininum is now phpstorm 8.01 jre 7
Fixed on master. Will release next week after some normal day to day use. Jar file is now java 6 compatible as it seems some people still use it.
Thanks.
In PHPStorm you can have hints that an object is of multiple classes. This is useful for signaling that an object is both of a class and implements an interface.
However this does not work with the DynamicReturnTypePlugin, you can only suggest one type of class for a method call. I tried adding it do the dynamicReturnTypeMeta.json using
but that does not work (breaks typehints all together).
Could you add this feature?