protected function hasMethodDocBlock(File $sniffedFile, $indexOfFunctionToken)
    {
        $positionOfClosingDocBlock = $sniffedFile->findPrevious([T_DOC_COMMENT_CLOSE_TAG], $indexOfFunctionToken);
        if ($positionOfClosingDocBlock === false)
        {
            return false;
        }
        $positionAfterClosingDocBlock = $positionOfClosingDocBlock + 1;

        $hasMethodDocBlock = true;
        for ($i = $positionAfterClosingDocBlock; $i < $indexOfFunctionToken; $i++)
        {
            if (!$this->isWhitespaceToken($sniffedFile, $i) && !$this->isMethodModifierToken($sniffedFile, $i))
            {
                $hasMethodDocBlock = false;
                break;
            }
        }

        return $hasMethodDocBlock;
    }