Skip to content

Commit

Permalink
Update XML2Array.php
Browse files Browse the repository at this point in the history
fix the mistake of createArray's return data type to advoid warnings
  • Loading branch information
kuangjy2 authored Aug 13, 2017
1 parent c8b5998 commit 363496d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LSS/XML2Array.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static function init($version = '1.0', $encoding = 'UTF-8', $format_outpu
* @param string $node_name - name of the root node to be converted
* @param int - Bitwise OR of the libxml option constants see @link http://php.net/manual/zh/libxml.constants.php
* @param array $arr - aray to be converterd
* @return DOMDocument
* @return array
*/
public static function &createArray($input_xml, $options = 0) {
$xml = self::getXMLRoot();
Expand Down

0 comments on commit 363496d

Please sign in to comment.