From fea5a8053146b6b01748f442cb2c41a3dd061d82 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 19 Oct 2016 14:54:21 +0200 Subject: fix phan warnings --- it_xml.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_xml.class') 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("", 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; -- cgit v1.2.3