diff options
author | Urban Müller | 2016-10-19 14:54:21 +0200 |
---|---|---|
committer | Urban Müller | 2016-10-19 14:54:21 +0200 |
commit | fea5a8053146b6b01748f442cb2c41a3dd061d82 (patch) | |
tree | 4c89f63029b05a1d246d2a26ac99c4c2084994ff | |
parent | a953fbf770a1378dddbd991dd687fd89e40b70a5 (diff) | |
download | itools-fea5a8053146b6b01748f442cb2c41a3dd061d82.tar.gz itools-fea5a8053146b6b01748f442cb2c41a3dd061d82.tar.bz2 itools-fea5a8053146b6b01748f442cb2c41a3dd061d82.zip |
fix phan warnings
-rw-r--r-- | it_xml.class | 2 |
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; |