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