Update HttpClient.php

This commit is contained in:
Tsvetelin Tsonev 2018-04-21 12:41:43 +02:00 committed by GitHub
parent aef6611307
commit f67e5139d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class HttpClient implements HttpClientInterface {
* @param string $responseType Response format - json, xml. * @param string $responseType Response format - json, xml.
*/ */
public function __construct(string $url, int $port, string $rootName, string $rootPassword, string $responseType) { public function __construct(string $url, int $port, string $rootName, string $rootPassword, string $responseType) {
$this->client = new \GuzzleHttp\Client(array('curl' => array(CURLOPT_SSL_VERIFYPEER => false))); $this->client = new \GuzzleHttp\Client(array('curl' => array('CURLOPT_SSL_VERIFYPEER' => false)));
$this->queryStringBuilder = new QueryStringBuilder(); $this->queryStringBuilder = new QueryStringBuilder();
$this->rootName = $rootName; $this->rootName = $rootName;
$this->rootPassword = $rootPassword; $this->rootPassword = $rootPassword;