phpDocumentor / fig-standards

Standards either proposed or approved by the Framework Interop Group
http://www.php-fig.org/
Other
360 stars 85 forks source link

@inheritdoc origin #79

Closed Wes0617 closed 5 years ago

Wes0617 commented 9 years ago

inheritdoc should inherit by default by the only parent phpdoc available. if multiple exist, there should be a way to define which of them should be inherited:

interface A{
    /** doc1 */
    function x();
}

interface B{
    /** doc2 */
    function x();
}

class A extends ABase implements A, B{
    /**
     * {@inheritdoc ABase::x()}
     * {@inheritdoc A::x()}
     * {@inheritdoc B::x()}
     */
    function x(){}
}
Fleshgrinder commented 9 years ago

See #37, as the topic was already discussed there.

ashnazg commented 5 years ago

I think this is serious overkill.