[ 
https://issues.apache.org/jira/browse/NETBEANS-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bo Andersen updated NETBEANS-1656:
----------------------------------
    Affects Version/s: 11.0

> Typed arrays - docblock awareness
> ---------------------------------
>
>                 Key: NETBEANS-1656
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1656
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: php - Code Analysis
>    Affects Versions: 10.0, 11.0
>            Reporter: Bo Andersen
>            Priority: Minor
>
>  
> {code:java}
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
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

Reply via email to