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.

Bug 240253

Summary: @method and @property show in the class's documentation hover
Product: php Reporter: dharkness <dharkness>
Component: PHPDocAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description dharkness 2014-01-10 21:55:21 UTC
While the declarations work perfectly when hovering over their usage in code, each one creates a new line consisting of the bare PHPDoc tag in the class's documentation hover.

    /**
     * This is a foo.
     *
     * @see This other class
     * @method int bar(string baz) Foobar the baz
     * @property string $frob This frobs a little
     * @author David
     */
    class Foo { }

If you hover over Foo you will see

    --------------------------
                   Net/Foo.php
    Foo
    
    This is a foo.
     see      This other class
     method
     property
     author   David
    --------------------------

The "method" and "property" lines should not be there since they're strictly for code-completion. The location relative to other PHPDoc tags--even when there are none--makes no difference.