Skip to content

Commit

Permalink
Add missing return types to magic methods
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj authored and nicolas-grekas committed Jul 5, 2023
1 parent 2810c90 commit 4b4aee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lock.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __sleep(): array
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
}

public function __wakeup()
public function __wakeup(): void
{
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
}
Expand Down

0 comments on commit 4b4aee5

Please sign in to comment.