Skip to content

Commit 465c207

Browse files
author
Alexandr Bashurov
committed
BUGFIX EXTREST-143 Fix incorrect line formatting
1 parent 0120437 commit 465c207

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
@@ -361,7 +361,7 @@ private function arrayToXml(array $array, SimpleXMLElement $xml, $parentEl = nul
361361
$el = is_int($key) && $parentEl ? $parentEl : $key;
362362
if (is_array($value)) {
363363
$this->arrayToXml($value, $this->isAssocArray($value) ? $xml->addChild($el) : $xml, $el);
364-
} elseif(!isset($xml->{$el})) {
364+
} elseif (!isset($xml->{$el})) {
365365
$xml->{$el} = (string) $value;
366366
} else {
367367
$xml->{$el}[] = (string) $value;

0 commit comments

Comments
 (0)