[ https://issues.apache.org/jira/browse/NETBEANS-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16907274#comment-16907274 ]
Tomáš Procházka commented on NETBEANS-53: ----------------------------------------- [~junichi11] Thank you. I'm switching to NetBeans from master for daily work ;) One small nitpick - could you, please, add "void" return type for generated setter in PHP >7.1 when setter is not fluent? Example: {code:java} public function setFoo(?string $foo): void { $this->foo = $foo; }{code} > PHP7.1 Setter/Getter code generation static types > ------------------------------------------------- > > Key: NETBEANS-53 > URL: https://issues.apache.org/jira/browse/NETBEANS-53 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor > Reporter: Ádám Turcsán > Assignee: Junichi Yamamoto > Priority: Major > Labels: pull-request-available > Fix For: 11.2 > > Time Spent: 2h 40m > Remaining Estimate: 0h > > The Insert code... / Setters/getters... functionality works great and uses > the docblock typehints as well but with static types (int, string) it > generates the setters and getter without argument types or return types. > It would be great if it could work with static types as well. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- 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