@@ -51,7 +51,7 @@ |
||
| 51 | 51 | |
| 52 | 52 | if (!is_array($params)) { |
| 53 | 53 | $options['body'] = $params; |
| 54 | - } else { |
|
| 54 | + }else { |
|
| 55 | 55 | $options['form_params'] = $params; |
| 56 | 56 | } |
| 57 | 57 | |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | |
| 220 | 220 | if ($cert) { |
| 221 | 221 | $data = $this->fromXml($this->post($end_point, $this->toXml($this->config), ['cert' => $this->user_config->get('cert_client', ''), 'ssl_key' => $this->user_config->get('cert_key', '')])); |
| 222 | - } else { |
|
| 222 | + }else { |
|
| 223 | 223 | $data = $this->fromXml($this->post($end_point, $this->toXml($this->config))); |
| 224 | 224 | } |
| 225 | 225 | |
@@ -334,7 +334,7 @@ discard block |
||
| 334 | 334 | foreach ($data as $key => $val) { |
| 335 | 335 | if (is_numeric($val)) { |
| 336 | 336 | $xml .= "<" . $key . ">" . $val . "</" . $key . ">"; |
| 337 | - } else { |
|
| 337 | + }else { |
|
| 338 | 338 | $xml .= "<" . $key . "><![CDATA[" . $val . "]]></" . $key . ">"; |
| 339 | 339 | } |
| 340 | 340 | } |