mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
XML class standards
updated the xml class for PSR-2
This commit is contained in:
parent
aac2258bc3
commit
ddacbf2c13
9 changed files with 210 additions and 203 deletions
|
@ -902,7 +902,7 @@ function api_create_xml($data, $root_element)
|
|||
|
||||
$data3 = array($root_element => $data2);
|
||||
|
||||
$ret = XML::from_array($data3, $xml, false, $namespaces);
|
||||
$ret = XML::fromArray($data3, $xml, false, $namespaces);
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue