This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Similarly as in issue #262838, we could generate getters with declared return types for PHP 7.
This issue also applies for "Override & Implement Method" generator.
Should be fixed now. http://hg.netbeans.org/web-main/rev/354be33eecac http://hg.netbeans.org/web-main/rev/a79d001e49f9 http://hg.netbeans.org/web-main/rev/e49d40b11178