Skip to content

Commit 4b63ea6

Browse files
committed
Additional fixes
1 parent 18ea6c7 commit 4b63ea6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/simplexml/simplexml.stub.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public function getNamespaces(bool $recursive = false) {}
3131
/** @return array|false */
3232
public function getDocNamespaces(bool $recursive = false, bool $fromRoot = true) {}
3333

34-
/** @return SimpleXMLIterator|null */
34+
/** @return SimpleXMLElement|null */
3535
public function children(?string $namespaceOrPrefix = null, bool $isPrefix = false) {}
3636

37-
/** @return SimpleXMLIterator|null */
37+
/** @return SimpleXMLElement|null */
3838
public function attributes(?string $namespaceOrPrefix = null, bool $isPrefix = false) {}
3939

4040
public function __construct(string $data, int $options = 0, bool $dataIsURL = false, string $namespaceOrPrefix = "", bool $isPrefix = false) {}
@@ -71,7 +71,7 @@ public function next() {}
7171
/** @return bool */
7272
public function hasChildren() {}
7373

74-
/** @return SimpleXMLElement|null */
74+
/** @return SimpleXMLIterator|null */
7575
public function getChildren() {}
7676
}
7777

ext/simplexml/simplexml_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: adea3b4fd9ef87a00d0379f2772b98e96cc0e461 */
2+
* Stub hash: 4dc340282918e7920a2fc7c02da81193999f8509 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_simplexml_load_file, 0, 1, SimpleXMLElement, MAY_BE_FALSE)
55
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)

0 commit comments

Comments
 (0)