Skip to content

Commit

Permalink
[phpstorm-stubs] Fix return type of DOMNode::__sleep and DOMNode::__w…
Browse files Browse the repository at this point in the history
…akeup
  • Loading branch information
isfedorov committed Oct 30, 2023
1 parent 57f671c commit 1720f96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dom/dom_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
}

/**
Expand Down

0 comments on commit 1720f96

Please sign in to comment.