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 268703 - PHPDoc / interface
Summary: PHPDoc / interface
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: PHPDoc (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-27 06:50 UTC by amobilia
Modified: 2016-11-19 04:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amobilia 2016-10-27 06:50:16 UTC
The PHPDoc write on an interface isn't shown for the implemented function



Example code :
------
interface newPHPInterface {

    /**
     * Some PHPDoc
     */
    function maFunction();
}

class maClasse implements newPHPInterface {
    
    public function maFunction() {
        
    }

}

$foo = new maClasse();
$foo->
------

When asking fo code completion, the pop-up give maFunction() and say no PHPDoc is available.
But PHPDoc have been write on the interface...

-------

Product Version: NetBeans IDE Dev (Build 201610190002)
Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13
System: Windows 10 version 10.0 running on amd64; Cp1252; fr_FR (nb)
User directory: C:\Users\Anael\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Anael\AppData\Local\NetBeans\Cache\dev
Comment 1 junichi11 2016-11-19 04:02:07 UTC
Please use {@inheritdoc} tag.

e.g. 

class maClasse implements newPHPInterface {

    /**
     * {@inheritdoc}
     */
    public function maFunction() {
        
    }

}

Thanks.