diff --git a/src/XMLReader/XMLReader.php b/src/XMLReader/XMLReader.php index dcd588e..8956e8f 100644 --- a/src/XMLReader/XMLReader.php +++ b/src/XMLReader/XMLReader.php @@ -68,8 +68,7 @@ protected function _property(\SimpleXMLElement $element, $property) if ($properties) { $output['@' . $property] = is_array($properties) ? - $properties : - $this->_asArray($properties); + $properties : $this->_asArray($properties); if (empty($output['@' . $property])) { @@ -193,8 +192,7 @@ public function asArray($mixed) $data = $this->_simpleXml($mixed); return $data ? - $this->_asArray($data) : - null; + $this->_asArray($data) : null; } /**