@@ -20,7 +20,8 @@ |
||
20 | 20 | */ |
21 | 21 | class XmlElement extends \DOMElement |
22 | 22 | { |
23 | - /** @return static */ |
|
23 | + /** @param string $uri |
|
24 | +/** @return static */ |
|
24 | 25 | public static function create($name = 'element', $content = null, $uri = null) |
25 | 26 | { |
26 | 27 | return self::_document()->importNode(new static($name, $content, $uri)); |
@@ -126,6 +126,9 @@ |
||
126 | 126 | return [$name, $namespace]; |
127 | 127 | } |
128 | 128 | |
129 | + /** |
|
130 | + * @param string|null $prefix |
|
131 | + */ |
|
129 | 132 | private function _lookup($prefix, $namespaces) |
130 | 133 | { |
131 | 134 | if ($prefix === 'xmlns') { |