@@ -318,6 +318,9 @@ |
||
| 318 | 318 | |
| 319 | 319 | /* ____________________ INTERNAL CLASS METHODS ___________________ */ |
| 320 | 320 | |
| 321 | + /** |
|
| 322 | + * @param string $url |
|
| 323 | + */ |
|
| 321 | 324 | private function processXmlResponse($url, $xml = '') |
| 322 | 325 | { |
| 323 | 326 | /* |
@@ -280,7 +280,7 @@ discard block |
||
| 280 | 280 | if ($xml) { |
| 281 | 281 | return [ |
| 282 | 282 | 'returncode' => $xml->returncode, |
| 283 | - 'published' => $xml->published, // -- Returns true/false. |
|
| 283 | + 'published' => $xml->published, // -- Returns true/false. |
|
| 284 | 284 | ]; |
| 285 | 285 | } else { |
| 286 | 286 | return; |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | if ($xml) { |
| 310 | 310 | return [ |
| 311 | 311 | 'returncode' => $xml->returncode, |
| 312 | - 'deleted' => $xml->deleted, // -- Returns true/false. |
|
| 312 | + 'deleted' => $xml->deleted, // -- Returns true/false. |
|
| 313 | 313 | ]; |
| 314 | 314 | } else { |
| 315 | 315 | return; |
@@ -338,7 +338,7 @@ discard block |
||
| 338 | 338 | curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); |
| 339 | 339 | curl_setopt($ch, CURLOPT_HTTPHEADER, [ |
| 340 | 340 | 'Content-type: application/xml', |
| 341 | - 'Content-length: ' . strlen($xml), |
|
| 341 | + 'Content-length: '.strlen($xml), |
|
| 342 | 342 | ]); |
| 343 | 343 | } |
| 344 | 344 | $data = curl_exec($ch); |