<commit_before><?php

namespace Dpc\GuzzleClient;

use GuzzleHttp\Client;

class GuzzleClient implements RequestClientContract
{
    protected $client;

    protected $response;

    protected $method;

    protected $uri;

    protected $body;

    protected $headers;

    protected $options;

    protected $format;

    /**
     * GuzzleClient constructor.
     */
    public function __construct()
    {
        $this->client = app(Client::class);
    }

    /**
     * @param string $method
     * @param string $uri
     * @param array $body (optional)
     * @param array $headers (optional)
     * @param array $options (optional)
     *
     * @return RequestClientContract
     */
    public function send(string $method, string $uri, array $body = null, array $headers = null, array $options = null): RequestClientContract
    {
        [$this->method, $this->uri, $this->body, $this->headers, $this->options] = [$method, $uri, $body, $headers, $options];

        return $this;
    }

    /**
     * @return RequestClientContract
     */
    public function asFormParams(): RequestClientContract<commit_msg>Fixed docblock that I missed to change. (#11)<commit_after><?php

namespace Dpc\GuzzleClient;

use GuzzleHttp\Client;

class GuzzleClient implements RequestClientContract
{
    protected $client;

    protected $response;

    protected $method;

    protected $uri;

    protected $body;

    protected $headers;

    protected $options;

    protected $format;

    /**
     * GuzzleClient constructor.
     */
    public function __construct()
    {
        $this->client = app(Client::class);
    }

    /**
     * @param string $method
     * @param string $uri
     * @param array|null $body
     * @param array|null $headers
     * @param array|null $options
     * @return RequestClientContract
     */
    public function send(string $method, string $uri, array $body = null, array $headers = null, array $options = null): RequestClientContract
    {
        [$this->method, $this->uri, $this->body, $this->headers, $this->options] = [$method, $uri, $body, $headers, $options];

        return $this;
    }

    /**
     * @return RequestClientContract
     */
    public function asFormParams(): RequestClientContract
{'fraction_non_alphanumeric': 0.12283044058744993, 'fraction_numerical': 0.0008900756564307966, 'mean_word_length': 2.8101694915254236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '1835761', 'n_tokens_mistral': 660, 'n_tokens_neox': 624, 'n_words': 175}