private function getFirstContentEndPointer($firstPointer, $openPointer)
    {
        $endPointer = $actualPointer = $firstPointer;

        do {
            /** @var int $actualPointer */
            $actualPointer = TokenHelper::findNextExcluding(
                $this->phpcsFile,
                [T_DOC_COMMENT_STAR, T_DOC_COMMENT_WHITESPACE],
                $actualPointer + 1,
                $this->tokens[$openPointer]['comment_closer'] + 1
            );

            if ($this->tokens[$actualPointer]['code'] !== T_DOC_COMMENT_STRING) {
                break;
            }

            $endPointer = $actualPointer;
        } while (true);

        return $endPointer;
    }