@@ -263,7 +263,7 @@ |
||
263 | 263 | * @param DOMElement $parent (optional) an element to which new children should be added. |
264 | 264 | * @param DOMDocument $root (optional) the parent document. |
265 | 265 | * |
266 | - * @return string|DOMDocument The rendered XML string or an object if root element is specified. |
|
266 | + * @return null|DOMNode The rendered XML string or an object if root element is specified. |
|
267 | 267 | */ |
268 | 268 | protected function array_to_xml_string( $array, $parent = null, $root = null ) { |
269 | 269 | $return_string = false; |