Skip to content

Commit b30c697

Browse files
committed
Update stubs
1 parent 7ee5939 commit b30c697

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

stubs/ext/dom/Dom/import_simplexml.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
#endif
66
#[\Since('8.4')]
7-
function import_simplexml(object $node): \Dom\Element
7+
function import_simplexml(object $node): \Dom\Attr|\Dom\Element
88
{
99
}
+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<?php
22

33
#endif
4+
#[\Until('8.2')]
45
function dom_import_simplexml(object $node): \DOMElement
56
{
7+
}
8+
#endif
9+
#[\Since('8.2')]
10+
function dom_import_simplexml(object $node): \DOMAttr|\DOMElement
11+
{
612
}

0 commit comments

Comments
 (0)