<commit_before><?php

/*
 * This file is part of the league/commonmark package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace League\CommonMark;

/**
 * Interface for a service which converts CommonMark to HTML.
 */
interface ConverterInterface
{
    /**
     * Converts CommonMark to HTML.
     *
     * @param string $commonMark
     *
     * @return string HTML<commit_msg>Added missing throws doc to the interface<commit_after><?php

/*
 * This file is part of the league/commonmark package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace League\CommonMark;

/**
 * Interface for a service which converts CommonMark to HTML.
 */
interface ConverterInterface
{
    /**
     * Converts CommonMark to HTML.
     *
     * @param string $commonMark
     *
     * @throws \RuntimeException
     *
     * @return string HTML
{'fraction_non_alphanumeric': 0.09514925373134328, 'fraction_numerical': 0.0, 'mean_word_length': 3.003731343283582, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6314106', 'n_tokens_mistral': 296, 'n_tokens_neox': 293, 'n_words': 115}