tmysik commented on code in PR #9431:
URL: https://github.com/apache/netbeans/pull/9431#discussion_r3388424290
##########
php/php.api.phpmodule/src/org/netbeans/modules/php/api/PhpVersion.java:
##########
@@ -245,6 +245,17 @@ public boolean hasMixedType() {
return this.compareTo(PhpVersion.PHP_80) >= 0;
}
+ /**
+ * Check whether this version supports the static return type. (as of PHP
8.0)
+ *
+ * @return {@code true} if this version supports static return type,
+ * {@code false} otherwise
+ * @since check code
+ */
+ public boolean hasStaticReturnType() {
Review Comment:
I am not sure how it is _now_ but yes, all the PHP API modules were friend
ones. And we did this increase of versions even during the development; or do
we increase now also dependency versions, automatically? I mean:
- php.api.module: 1.100 -> 1.101
- php.editor depends on it so we also need: 1.100 -> 1.101
Of maybe, because of friendly modules, we don't (need to) care much now? I
am not sure and whatever we do, I am fine with that :)
--
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