In my copy here (EAP 121.110 which I believe is 4.0) it provides suggestions perfectly fine on your example code.
EDIT: I actually filed an issue here a few weeks back. That version of the code had no PhpDoc on the get(), once that was added it actually started working fine. Perhaps there's a regression in 5.0 with this new type inference "engine" or whatever they've done.
EDIT2: Updated the parent issue they have for this.
EDIT3: For reference, here is Netbeans' Issue for @return static.
This post has been edited by RudiVisser: 17 October 2012 - 01:30 AM

New Topic/Question
Reply




MultiQuote







|