@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * @param $pass |
| 39 | 39 | */ |
| 40 | 40 | public function setCredentials($user, $pass) { |
| 41 | - $this->setopt(CURLOPT_USERPWD, $user. ':' .$pass); |
|
| 41 | + $this->setopt(CURLOPT_USERPWD, $user.':'.$pass); |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | } |
| 66 | 66 | if ($this->format != 'simplexml') |
| 67 | 67 | $args['output'] = $this->format; |
| 68 | - $query = 'https://manage2.cpanel.net/' .$function. '?' .http_build_query($args); |
|
| 68 | + $query = 'https://manage2.cpanel.net/'.$function.'?'.http_build_query($args); |
|
| 69 | 69 | $this->setopt(CURLOPT_URL, $query); |
| 70 | 70 | $this->curl = curl_init(); |
| 71 | 71 | foreach ($this->opts as $option => $value) |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | $result = curl_exec($this->curl); |
| 74 | 74 | curl_close($this->curl); |
| 75 | 75 | if ($result == FALSE) { |
| 76 | - error_log('cPanelLicensing::get failed: "' .curl_error($this->curl). '"'); |
|
| 76 | + error_log('cPanelLicensing::get failed: "'.curl_error($this->curl).'"'); |
|
| 77 | 77 | return; |
| 78 | 78 | } |
| 79 | 79 | if ($this->format == 'simplexml') { |