@@ -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 |
@@ -55,7 +55,7 @@ |
||
55 | 55 | { |
56 | 56 | if (count($this->meta) !== 0) { |
57 | 57 | foreach ($this->meta as $k => $v) { |
58 | - $queries['meta_' . $k] = $v; |
|
58 | + $queries['meta_'.$k] = $v; |
|
59 | 59 | } |
60 | 60 | } |
61 | 61 | } |