Skip to content

Commit 1720f96

Browse files
committed
[phpstorm-stubs] Fix return type of DOMNode::__sleep and DOMNode::__wakeup
1 parent 57f671c commit 1720f96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dom/dom_c.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,12 @@ public function getRootNode(?array $options = null): DOMNode {}
394394
/**
395395
* @since 8.1
396396
*/
397-
public function __sleep() {}
397+
public function __sleep(): array {}
398398

399399
/**
400400
* @since 8.1
401401
*/
402-
public function __wakeup() {}
402+
public function __wakeup(): void {}
403403
}
404404

405405
/**

0 commit comments

Comments
 (0)