[ https://issues.apache.org/jira/browse/NETBEANS-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junichi Yamamoto updated NETBEANS-1656: --------------------------------------- Component/s: (was: php - Code Analysis) php - Editor > Typed arrays - docblock awareness > --------------------------------- > > Key: NETBEANS-1656 > URL: https://issues.apache.org/jira/browse/NETBEANS-1656 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor > Affects Versions: 10.0, 11.0 > Reporter: Bo Andersen > Priority: Minor > > > {code:java} > class Model { > public function doStuff(): void { > ... > } > } > class Test { > /* > * @return Model[] > */ > public function getCollection(): array { > return [new Model(), new Model()]; > } > } > $test = new Test(); > $collection = $test->getCollection(); > $collection[0]->(?); // At the moment Netbeans is not aware of the type{code} > Netbeans should be aware of the types within a collection if they are > typehinted. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists