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.
Sample code: <?php /** * @method ParentClass testMethod() * @property ParentClass $parent */ class ChildClass { } class ParentClass { } The caret position goes to the method declaration(^testMethod()) when GotoDeclaration is run in the @method return type(Pare^ntClass). Thanks.
Fixed. http://hg.netbeans.org/web-main/rev/88d5d5013aaf Thanks.
Remove the buildMagicMethodDeclarationReturnType() because incorrect PhpElements(MethodScopes) are added to the occurrences in it, and types are added to them in the buildDocTagsForClasses().Related to #171249.
Integrated into 'main-silver', will be available in build *201704210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/88d5d5013aaf User: Junichi Yamamoto <junichi11@netbeans.org> Log: #270422 - Go to an incorrect declaration in a @method return type Remove the buildMagicMethodDeclarationReturnType() because incorrect PhpElements(MethodScopes) are added to the occurrences in it, and types are added to them in the buildDocTagsForClasses(). Related to #171249.