public function addQuery($param, $value)
    {
        if (!isset($this->options[GuzzleRequestOptions::QUERY])) {
            $this->options[GuzzleRequestOptions::QUERY] = [];
        }

        if (!is_array($this->options[GuzzleRequestOptions::QUERY])) {
            throw  new \LogicException('The query has been set as string and can`t be modified');
        }

        $this->options[GuzzleRequestOptions::QUERY][$param] = $value;

        return $this;
    }