naitsirch commented on issue #5663: URL: https://github.com/apache/netbeans/issues/5663#issuecomment-1471732864
> Currently, NB ignores return types of PHPDoc if original return types exist. I do understand that and that's okay. But that wasn't my main issue. The foreach loop uses `$example->getCollection()`. NB knows that its type is `Collection`. But why is it suggesting the methods of `Collection` as methods for `$item`? The latter is not of type `Collection` - in fact it is unknown for NB. I hope you understand my explanation :-) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
