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.
Steps to reproduce, create a file with a namespace, class and method: namespace Foo; class Bar { function biteMe(callable $where) { //... } } Now begin adding a DocBlock comment to the method. After the usual "/**" <ENTER> shortcut, the auto generated @param/@return will prefix the 'callable' type with the current namespace: /** * * @param Foo\callable $where */ function biteMe(callable $where) As an aside, I find this strange since 'bool', 'int', 'float' and 'string'; introduced with PHP 7, work, but 'callable' introduced with PHP 5.4, doesn't.
Fixed. http://hg.netbeans.org/web-main/rev/e1928acaaad9 Thanks.
Integrated into 'main-silver', will be available in build *201704010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e1928acaaad9 User: Junichi Yamamoto <junichi11@netbeans.org> Log: #269104 - callable not recognized as built in type