Skip to content

Commit 07510cb

Browse files
committed
Update stubs
1 parent 70a5913 commit 07510cb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

stubs/ext/dom/DOMElement.php

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ public function __construct(string $qualifiedName, ?string $value = null, string
1212
public function getAttribute(string $qualifiedName)
1313
{
1414
}
15+
#[\Since('8.3')]
16+
public function getAttributeNames(): array
17+
{
18+
}
1519
/**
1620
* @tentative-return-type
1721
* @return string

stubs/ext/dom/DOMNode.php

+4
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,8 @@ public function replaceChild(DOMNode $node, DOMNode $child)
110110
public function contains(DOMNode|DOMNameSpaceNode|null $other): bool
111111
{
112112
}
113+
#[\Since('8.3')]
114+
public function getRootNode(?array $options = null): DOMNode
115+
{
116+
}
113117
}

0 commit comments

Comments
 (0)