We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f204e6e commit d85009aCopy full SHA for d85009a
core/Client.php
@@ -41,7 +41,7 @@ protected function xml2array($xml)
41
{
42
$tag = $element->getName();
43
$e = get_object_vars($element);
44
- if ($element->count() > 0)
+ if (!empty($e))
45
46
$res = $element instanceof \SimpleXMLElement ? $this->xml2array($element) : $e;
47
}
0 commit comments