[ https://issues.apache.org/jira/browse/NETBEANS-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Titum updated NETBEANS-792: --------------------------- Component/s: php - Code > Return type declaration not functionning when arguments have a default value > ---------------------------------------------------------------------------- > > Key: NETBEANS-792 > URL: https://issues.apache.org/jira/browse/NETBEANS-792 > Project: NetBeans > Issue Type: Bug > Components: php - Code > Affects Versions: 8.2 > Environment: win10 > Reporter: Titum > Priority: Minor > > The autocompletion of return type declaration for a function give bad list of > options when at least an argument has a default value. > Example: > {code:java} > function makeSomething($arg):a {} > {code} > typing ":a" give "array" which is good. > {code:java} > function makeSomething($arg=''):a {} > {code} > typing ":a" give "abstract" which is bad. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- 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