1
0
Fork 0
spelling correction for simplexmlelement
This commit is contained in:
Adam Magness 2017-11-10 00:34:31 -05:00
parent d49da294b3
commit 0226aa1f15

View file

@ -1,12 +1,12 @@
<?php
/**
* @file xrc/Util/Xml.php
* @file src/Util/Xml.php
*/
namespace Friendica\Util;
use DomXPath;
use SimpleXmMLElement;
use SimpleXMLElement;
/**
* @brief This class contain methods to work with XML data
@ -24,8 +24,8 @@ class Xml
*
* @return string The created XML
*/
public static function from_array($array, &$xml, $remove_header = false, $namespaces = array(), $root = true) {
public static function from_array($array, &$xml, $remove_header = false, $namespaces = array(), $root = true)
{
if ($root) {
foreach ($array as $key => $value) {
foreach ($namespaces as $nskey => $nsvalue) {