From 465c2074e17cc6b80ca675b2a63a4b3c1f1cb5ac Mon Sep 17 00:00:00 2001 From: Alexandr Bashurov Date: Mon, 28 Mar 2022 23:57:08 +0700 Subject: [PATCH] BUGFIX EXTREST-143 Fix incorrect line formatting --- src/Api/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/Client.php b/src/Api/Client.php index 74d274c7..0562d73c 100644 --- a/src/Api/Client.php +++ b/src/Api/Client.php @@ -361,7 +361,7 @@ private function arrayToXml(array $array, SimpleXMLElement $xml, $parentEl = nul $el = is_int($key) && $parentEl ? $parentEl : $key; if (is_array($value)) { $this->arrayToXml($value, $this->isAssocArray($value) ? $xml->addChild($el) : $xml, $el); - } elseif(!isset($xml->{$el})) { + } elseif (!isset($xml->{$el})) { $xml->{$el} = (string) $value; } else { $xml->{$el}[] = (string) $value;