private function hasDocBlock(Tokens $tokens, $index)
    {
        $docBlockIndex = $this->getDocBlockIndex($tokens, $index);

        return $tokens[$docBlockIndex]->isGivenKind(T_DOC_COMMENT);
    }
private function hasDocBlock(Tokens $tokens, $index)
    {
        $docBlockIndex = $this->getDocBlockIndex($tokens, $index);

        return $tokens[$docBlockIndex]->isGivenKind(T_DOC_COMMENT);
    }
private function hasDocBlock ( Tokens $ tokens , $ index ) { $ docBlockIndex = $ this -> getDocBlockIndex ( $ tokens , $ index ) ; return $ tokens [ $ docBlockIndex ] -> isGivenKind ( T_DOC_COMMENT ) ; }
@param Tokens $tokens
@param int    $index

@return bool
@param Tokens $tokens @param int $index