[
https://issues.apache.org/jira/browse/NETBEANS-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927141#comment-16927141
]
Junichi Yamamoto commented on NETBEANS-1859:
--------------------------------------------
Reproducible. Thanks for reporting it.
> PHP autocompletion does only get fully qualified returned objects
> -----------------------------------------------------------------
>
> Key: NETBEANS-1859
> URL: https://issues.apache.org/jira/browse/NETBEANS-1859
> Project: NetBeans
> Issue Type: Bug
> Components: php - Editor
> Affects Versions: 9.0, 10.0
> Environment: Ubuntu Bionic
> Reporter: Björn Tantau
> Assignee: Junichi Yamamoto
> Priority: Major
> Labels: autocompletion
> Attachments: test.php, test2.php
>
>
> When I'm calling a function that returns an object. And if that object's
> classed is type hinted through PHP, but not with the complete namespace. Then
> Netbeans does not offer autocompletion for the correct class.
>
> See the attached files test.php and test2.php. Add both to a project and open
> test2.php. In test2.php try to get autocompletion of properties of the
> \Test\newTest() method.
>
> Expected output:
> I get offered only the $test property.
>
> Actual output:
> No properties are offered.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
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