<commit_before><?php

namespace Picqer\BolPlazaClient\Request;

class CurlHttpRequest
{
    protected $ch = null;

    public function __construct($url)
    {
        $this->ch = curl_init($url);
    }

    public function setOption($option, $value)
    {
        curl_setopt($this->ch, $option, $value);
    }

    public function execute()
    {
        return curl_exec($this->ch);
    }

    public function getInfo($option = null)
    {
        if($opt) {
            return curl_getinfo($this->ch, $option);
        } else {
            return curl_getinfo($this->ch);
        }
    }

    public function close()
    {
        curl_close($this->ch);
    }

    public function getErrorNumber()
    {
        return curl_errno($this->ch);
    }
}<commit_msg>Fix typo<commit_after><?php

namespace Picqer\BolPlazaClient\Request;

class CurlHttpRequest
{
    protected $ch = null;

    public function __construct($url)
    {
        $this->ch = curl_init($url);
    }

    public function setOption($option, $value)
    {
        curl_setopt($this->ch, $option, $value);
    }

    public function execute()
    {
        return curl_exec($this->ch);
    }

    public function getInfo($option = null)
    {
        if($option) {
            return curl_getinfo($this->ch, $option);
        } else {
            return curl_getinfo($this->ch);
        }
    }

    public function close()
    {
        curl_close($this->ch);
    }

    public function getErrorNumber()
    {
        return curl_errno($this->ch);
    }
}
{'fraction_non_alphanumeric': 0.1310615989515072, 'fraction_numerical': 0.0, 'mean_word_length': 2.091093117408907, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '340376', 'n_tokens_mistral': 485, 'n_tokens_neox': 473, 'n_words': 91}