Skip to content

Commit

Permalink
Fix magic method __sleep return value
Browse files Browse the repository at this point in the history
Found this one during the development of https://wiki.php.net/rfc/magic-methods-signature.
  • Loading branch information
carusogabriel authored and sebastianbergmann committed Apr 27, 2020
1 parent ac702d7 commit 5a8f145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/_files/SingletonClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected function __construct()
{
}

private function __sleep(): void
private function __sleep(): array
{
}

Expand Down

0 comments on commit 5a8f145

Please sign in to comment.