From 1720f96770005c3878c89b1e8c618251820a6d40 Mon Sep 17 00:00:00 2001 From: Ivan Fedorov Date: Mon, 30 Oct 2023 19:39:14 +0100 Subject: [PATCH] [phpstorm-stubs] Fix return type of DOMNode::__sleep and DOMNode::__wakeup --- dom/dom_c.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/dom_c.php b/dom/dom_c.php index c8d153273..69cd4c433 100644 --- a/dom/dom_c.php +++ b/dom/dom_c.php @@ -394,12 +394,12 @@ public function getRootNode(?array $options = null): DOMNode {} /** * @since 8.1 */ - public function __sleep() {} + public function __sleep(): array {} /** * @since 8.1 */ - public function __wakeup() {} + public function __wakeup(): void {} } /**