Skip to content

Commit

Permalink
[UPD] SoapCurl spaces adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
robmachado committed Dec 21, 2017
1 parent 27da815 commit 8b0d275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Soap/SoapCurl.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ private function setCurlProxy(&$oCurl)
if ($this->proxyIP != '') {
curl_setopt($oCurl, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($oCurl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt($oCurl, CURLOPT_PROXY, $this->proxyIP.':'.$this->proxyPort);
curl_setopt($oCurl, CURLOPT_PROXY, $this->proxyIP . ':' . $this->proxyPort);
if ($this->proxyUser != '') {
curl_setopt($oCurl, CURLOPT_PROXYUSERPWD, $this->proxyUser.':'.$this->proxyPass);
curl_setopt($oCurl, CURLOPT_PROXYUSERPWD, $this->proxyUser . ':' . $this->proxyPass);
curl_setopt($oCurl, CURLOPT_PROXYAUTH, CURLAUTH_BASIC);
}
}
Expand Down

0 comments on commit 8b0d275

Please sign in to comment.