tmysik commented on code in PR #9431:
URL: https://github.com/apache/netbeans/pull/9431#discussion_r3419464609


##########
php/php.editor/src/org/netbeans/modules/php/editor/codegen/SinglePropertyMethodCreator.java:
##########
@@ -191,6 +191,9 @@ public String create(Property property) {
         }
 
         private String getReturnType() {
+            if (cgsInfo.isFluentSetter() && 
cgsInfo.getPhpVersion().hasStaticReturnType()) {

Review Comment:
   I see now, thanks for the link, it helped (at least to me :)
   
   Now I see that `static` really makes sense in this case (sorry, I was not 
aware of this exact change, I am out of the PHP world for many years now).
   



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

To unsubscribe, e-mail: [email protected]

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