<commit_before><?php

/**
 * This file is part of the Geocoder package.
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @license    MIT License
 */

namespace Geocoder\Provider;

/**
 * @author <NAME> <<EMAIL>>
 */
class ChainProvider implements ProviderInterface
{
    /**
     * @var array
     */
    private $providers = array();

    /**
     * Constructor
     *
     * @param array $provider
     */
    public function __construct(array $provider = array())
    {
        $this->providers = $provider;
    }

    /**
     * Add a provider
     *
     * @param ProviderInterface $provider
     */
    public function addProvider(ProviderInterface $provider)
    {
        $this->providers[] = $provider;
    }<commit_msg>Rename provider argument to providers<commit_after><?php

/**
 * This file is part of the Geocoder package.
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @license    MIT License
 */

namespace Geocoder\Provider;

/**
 * @author <NAME> <<EMAIL>>
 */
class ChainProvider implements ProviderInterface
{
    /**
     * @var array
     */
    private $providers = array();

    /**
     * Constructor
     *
     * @param array $providers
     */
    public function __construct(array $providers = array())
    {
        $this->providers = $providers;
    }

    /**
     * Add a provider
     *
     * @param ProviderInterface $provider
     */
    public function addProvider(ProviderInterface $provider)
    {
        $this->providers[] = $provider;
    }
{'fraction_non_alphanumeric': 0.11373260738052027, 'fraction_numerical': 0.0, 'mean_word_length': 2.4675052410901466, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '2751677', 'n_tokens_mistral': 461, 'n_tokens_neox': 453, 'n_words': 140}