idea-php-symfony2-plugin
idea-php-symfony2-plugin copied to clipboard
Fix doctrine repository find() methods not always returning the correct type hints
I'm not entirely sure how these classes/extension points work and I don't normally code in Java let alone IntelliJ plugins - but this seems to be working for me 🤷♂ .
It seems like it wasn't resolving class references correctly. Stripping the class identifiers in the signature solves it so the getSignature()
method can find the PHP class and return it as a type hint.
Code review would be appreciated as I don't really know what I'm doing 😂
Potential fix for #1422
After using this build it looks like it doesn't fix the duplicate return type issue as explained in #1422 but it does solve the issue I was referring to in my comment on that issue.
I believe the latest commit now fixes #1422 :)
thanks for this PR, will also comeback here, fixing lost features for API changes ;)
Is there any help needed with this PR? Can we do anything to speed up merging and publishing it?
This issue is becoming more and more annoying and fix would be very welcome :)
Also I think it would fix issues reappearing in #1401
I didn't review, but this really needs attention @Haehnchen ping (please pm me your paypal.me/user/50 if this would help you and to show you my gratitude)