Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianVillamayor committed Jan 14, 2022
1 parent ad54f49 commit af5e1cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CurlHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class CurlHelper

public int $http_code;

/**
/**
* @var mixed
*/
public $debug;
Expand Down Expand Up @@ -234,6 +234,8 @@ public function execute(): void
elseif (!empty($this->get_data)) {
curl_setopt($this->ch, CURLOPT_CUSTOMREQUEST, "GET");
$this->url = sprintf("%s?%s", $this->url, http_build_query($this->get_data));
} else {
curl_setopt($this->ch, CURLOPT_CUSTOMREQUEST, "GET");;
}

$url = $this->generateUrl();
Expand Down

0 comments on commit af5e1cc

Please sign in to comment.