src/Fixer/Phpdoc/PhpdocNoUselessInheritdocFixer.php
private function isExtendingOrImplementing(Tokens $tokens, $classIndex, $classOpenIndex)
    {
        for ($index = $classIndex; $index < $classOpenIndex; ++$index) {
            if ($tokens[$index]->isGivenKind([T_EXTENDS, T_IMPLEMENTS])) {
                return true;
            }
        }

        return false;
    }
private function isExtendingOrImplementing(Tokens $tokens, $classIndex, $classOpenIndex)
    {
        for ($index = $classIndex; $index < $classOpenIndex; ++$index) {
            if ($tokens[$index]->isGivenKind([T_EXTENDS, T_IMPLEMENTS])) {
                return true;
            }
        }

        return false;
    }
private function isExtendingOrImplementing ( Tokens $ tokens , $ classIndex , $ classOpenIndex ) { for ( $ index = $ classIndex ; $ index < $ classOpenIndex ; ++ $ index ) { if ( $ tokens [ $ index ] -> isGivenKind ( [ T_EXTENDS , T_IMPLEMENTS ] ) ) { return true ; } } return false ; }
@param Tokens $tokens
@param int    $classIndex
@param int    $classOpenIndex

@return bool
@param Tokens $tokens @param int $classIndex @param int $classOpenIndex