Skip to content

Commit 561190e

Browse files
author
Alexandr Bashurov
committed
BUGFIX EXTREST-143 Fix incorrect line formatting
1 parent 796ea2c commit 561190e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Api/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ protected function _arrayToXml(array $array, SimpleXMLElement $xml, $parentEl =
349349
$el = is_int($key) && $parentEl ? $parentEl : $key;
350350
if (is_array($value)) {
351351
$this->_arrayToXml($value, $this->_isAssocArray($value) ? $xml->addChild($el) : $xml, $el);
352-
} elseif(!isset($xml->{$el})) {
352+
} elseif (!isset($xml->{$el})) {
353353
$xml->{$el} = (string) $value;
354354
} else {
355355
$xml->{$el}[] = (string) $value;

0 commit comments

Comments
 (0)