Skip to content

Commit e8e48ca

Browse files
committed
Update stubs
1 parent 8ac5944 commit e8e48ca

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

stubs/ext/dom/DOMNameSpaceNode.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@
22

33
class DOMNameSpaceNode
44
{
5+
/** @implementation-alias DOMNode::__sleep */
6+
#[\Since('8.1')]
7+
public function __sleep(): array
8+
{
9+
}
10+
/** @implementation-alias DOMNode::__wakeup */
11+
#[\Since('8.1')]
12+
public function __wakeup(): void
13+
{
14+
}
515
}

stubs/ext/dom/DOMNode.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
class DOMNode
44
{
5+
#[\Since('8.1')]
6+
public function __sleep(): array
7+
{
8+
}
9+
#[\Since('8.1')]
10+
public function __wakeup(): void
11+
{
12+
}
513
/** @return DOMNode|false */
614
public function appendChild(DOMNode $node)
715
{

0 commit comments

Comments
 (0)