Skip to content

False positive for inherited descriptive annotations #67

Closed
@marcospassos

Description

@marcospassos

Inherited description annotations are incorrectly reported as unused:

interface ClassInterface {
   /*
    * @throws \LogicException Description.
    */
    public function foo()
}

class ChildClass implements ClassInterface {
    public function foo(){
        throw new \LogicException(); // Unused @throws LogicException
    } 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions