@@ -10,7 +10,7 @@ function simplexml_import_dom(SimpleXMLElement|DOMNode $node, ?string $class_nam
10
10
11
11
class SimpleXMLElement implements Stringable, Countable, RecursiveIterator
12
12
{
13
- /** @return array|false */
13
+ /** @return array|null| false */
14
14
public function xpath (string $ expression ) {}
15
15
16
16
/** @return bool */
@@ -31,18 +31,18 @@ public function getNamespaces(bool $recursive = false) {}
31
31
/** @return array|false */
32
32
public function getDocNamespaces (bool $ recursive = false , bool $ fromRoot = true ) {}
33
33
34
- /** @return SimpleXMLIterator */
34
+ /** @return SimpleXMLElement|null */
35
35
public function children (?string $ namespaceOrPrefix = null , bool $ isPrefix = false ) {}
36
36
37
- /** @return SimpleXMLIterator */
37
+ /** @return SimpleXMLElement|null */
38
38
public function attributes (?string $ namespaceOrPrefix = null , bool $ isPrefix = false ) {}
39
39
40
40
public function __construct (string $ data , int $ options = 0 , bool $ dataIsURL = false , string $ namespaceOrPrefix = "" , bool $ isPrefix = false ) {}
41
41
42
- /** @return SimpleXMLElement */
42
+ /** @return SimpleXMLElement|null */
43
43
public function addChild (string $ qualifiedName , ?string $ value = null , ?string $ namespace = null ) {}
44
44
45
- /** @return SimpleXMLElement */
45
+ /** @return SimpleXMLElement|null */
46
46
public function addAttribute (string $ qualifiedName , ?string $ value = null , ?string $ namespace = null ) {}
47
47
48
48
/** @return string */
0 commit comments