<commit_before><?php
/**
* This file is part of the League.url library
*
* @license http://opensource.org/licenses/MIT
* @link https://github.com/thephpleague/url/
* @version 3.0.0
* @package League.url
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace League\Url\Interfaces;

interface EncodingInterface
{
    /**
     * Set the Query String encoding type (see {@link http_build_query})
     *
     * @param integer $encoding_type
     *
     * @return League\Url\Interfaces\EncodingInterface
     */
    public function setEncoding($encoding_type);

    /**
     * return the current Encoding type value
     *
     * @return integer<commit_msg>update EncodingInterface docblock<commit_after><?php
/**
* This file is part of the League.url library
*
* @license http://opensource.org/licenses/MIT
* @link https://github.com/thephpleague/url/
* @version 3.0.0
* @package League.url
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace League\Url\Interfaces;

interface EncodingInterface
{
    /**
     * Set the Query String encoding type (see {@link http_build_query})
     *
     * @param integer $encoding_type
     *
     * @return self
     */
    public function setEncoding($encoding_type);

    /**
     * return the current Encoding type value
     *
     * @return integer
{'fraction_non_alphanumeric': 0.10486634681288554, 'fraction_numerical': 0.00411240575736806, 'mean_word_length': 3.244186046511628, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5308093', 'n_tokens_mistral': 414, 'n_tokens_neox': 411, 'n_words': 131}