@@ -188,7 +188,7 @@ |
||
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | /** |
| 191 | - * @return int |
|
| 191 | + * @return string |
|
| 192 | 192 | */ |
| 193 | 193 | public function getCreationTime() |
| 194 | 194 | { |
@@ -460,7 +460,7 @@ |
||
| 460 | 460 | ]; |
| 461 | 461 | if (!empty($this->meta)) { |
| 462 | 462 | foreach ($this->meta as $k => $v) { |
| 463 | - $queries['meta_' . $k] = $v; |
|
| 463 | + $queries['meta_'.$k] = $v; |
|
| 464 | 464 | } |
| 465 | 465 | } |
| 466 | 466 | |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | if (extension_loaded('curl')) { |
| 300 | 300 | $ch = curl_init(); |
| 301 | 301 | if (!$ch) { |
| 302 | - throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch)); |
|
| 302 | + throw new \RuntimeException('Unhandled curl error: '.curl_error($ch)); |
|
| 303 | 303 | } |
| 304 | 304 | $timeout = 10; |
| 305 | 305 | curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); |
@@ -314,12 +314,12 @@ discard block |
||
| 314 | 314 | curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); |
| 315 | 315 | curl_setopt($ch, CURLOPT_HTTPHEADER, [ |
| 316 | 316 | 'Content-type: application/xml', |
| 317 | - 'Content-length: ' . strlen($xml), |
|
| 317 | + 'Content-length: '.strlen($xml), |
|
| 318 | 318 | ]); |
| 319 | 319 | } |
| 320 | 320 | $data = curl_exec($ch); |
| 321 | 321 | if ($data === false) { |
| 322 | - throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch)); |
|
| 322 | + throw new \RuntimeException('Unhandled curl error: '.curl_error($ch)); |
|
| 323 | 323 | } |
| 324 | 324 | curl_close($ch); |
| 325 | 325 | |
@@ -291,7 +291,7 @@ |
||
| 291 | 291 | /** |
| 292 | 292 | * A private utility method used by other public methods to process XML responses. |
| 293 | 293 | * |
| 294 | - * @param $url |
|
| 294 | + * @param string $url |
|
| 295 | 295 | * @param string $xml |
| 296 | 296 | * @return SimpleXMLElement |
| 297 | 297 | * @throws \RuntimeException |