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.
GoToDeclaration and MarkOccurrences e.t.c do not work. Sample code: <?php /** * @method ?\PHPDocTags testMethod2(?PHPDocTags $tags) Description * @property ?PHPDocTags $test Description */ class PHPDocTags { /** * @param ?PHPDocTags $tags * @return ?PHPDocTags */ public function testMethod(?PHPDocTags $tags, bool $isNull) { if ($isNull) { return null; } return new PHPDocTags(); } } I'm not sure whether nullable types for @property and @param, .e.t.c are proper formats. However, probably, they would be used. So they should be handled. Thanks.
Fixed. http://hg.netbeans.org/web-main/rev/22573549c48f Thanks.
Integrated into 'main-silver', will be available in build *201704180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/22573549c48f User: Junichi Yamamoto <junichi11@netbeans.org> Log: #270411 - [PHP7.1] Nullable types are not recognized in PHPDoc