Skip to content

Commit b180ccc

Browse files
committed
Update stubs
1 parent 07510cb commit b180ccc

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

stubs/ext/dom/DOMDocument.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,9 @@ public function append(...$nodes): void
198198
public function prepend(...$nodes): void
199199
{
200200
}
201+
/** @param DOMNode|string $nodes */
202+
#[\Since('8.3')]
203+
public function replaceChildren(...$nodes): void
204+
{
205+
}
201206
}

stubs/ext/dom/DOMDocumentFragment.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ public function append(...$nodes): void
2020
public function prepend(...$nodes): void
2121
{
2222
}
23+
/** @param DOMNode|string $nodes */
24+
#[\Since('8.3')]
25+
public function replaceChildren(...$nodes): void
26+
{
27+
}
2328
}

stubs/ext/dom/DOMElement.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,9 @@ public function append(...$nodes): void
140140
public function prepend(...$nodes): void
141141
{
142142
}
143+
/** @param DOMNode|string $nodes */
144+
#[\Since('8.3')]
145+
public function replaceChildren(...$nodes): void
146+
{
147+
}
143148
}

stubs/ext/dom/DOMParentNode.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ interface DOMParentNode
66
public function append(...$nodes): void;
77
/** @param DOMNode|string $nodes */
88
public function prepend(...$nodes): void;
9+
/** @param DOMNode|string $nodes */
10+
#[\Since('8.3')]
11+
public function replaceChildren(...$nodes): void;
912
}

0 commit comments

Comments
 (0)