spelling correction for simplexmlelement
This commit is contained in:
Adam Magness 2017-11-10 00:34:31 -05:00
parent d49da294b3
commit 0226aa1f15
1 changed files with 4 additions and 4 deletions

View File

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