summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-10-19 14:54:21 +0200
committerUrban Müller2016-10-19 14:54:21 +0200
commitfea5a8053146b6b01748f442cb2c41a3dd061d82 (patch)
tree4c89f63029b05a1d246d2a26ac99c4c2084994ff
parenta953fbf770a1378dddbd991dd687fd89e40b70a5 (diff)
downloaditools-fea5a8053146b6b01748f442cb2c41a3dd061d82.tar.gz
itools-fea5a8053146b6b01748f442cb2c41a3dd061d82.tar.bz2
itools-fea5a8053146b6b01748f442cb2c41a3dd061d82.zip
fix phan warnings
-rw-r--r--it_xml.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_xml.class b/it_xml.class
index 32617b3..ec73324 100644
--- a/it_xml.class
+++ b/it_xml.class
@@ -44,7 +44,7 @@ function it_xml($xmldata = "", $p = array())
* Example: $root = it_xml::create("<a><b id='2'/></a>", array("b"));
*/
-function create($xmldata, $p = array())
+static function create($xmldata, $p = array())
{
$xml = new it_xml;
return $xml->from_xml($xmldata, array('factory' => true) + $p) ? $xml->_root : null;