diff --git a/src/Client.php b/src/Client.php index 91dc190..93806bb 100644 --- a/src/Client.php +++ b/src/Client.php @@ -20,7 +20,12 @@ class Client string $password ) { - $this->_url = $this->_protocol . '://' . $this->_host . ':' . $this->_port; + $this->_url = sprintf( + '%s://%s:%s', + $protocol, + $host, + $port + ); $this->_curl = curl_init();