KacerCZ opened a new pull request #2228:
URL: https://github.com/apache/netbeans/pull/2228


   https://issues.apache.org/jira/browse/NETBEANS-4509
   
   Fixed code completion of functions with return type "array" and specific
   type in "@return" in DocBlock.
   
   Example:
   ```
   /**
    * @return \SplFileInfo[]
    */
   function getFiles(): array { }
   
   foreach (getFiles() as $file) {
       $file->^ // Offers methods from \SplFileInfo
   }
   ```
   Before this fix methods from `\SplFileInfo` will not be offered.


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

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

Reply via email to