Skip to content

Commit 4b4aee5

Browse files
wouterjnicolas-grekas
authored andcommitted
Add missing return types to magic methods
1 parent 2810c90 commit 4b4aee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __sleep(): array
5454
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
5555
}
5656

57-
public function __wakeup()
57+
public function __wakeup(): void
5858
{
5959
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
6060
}

0 commit comments

Comments
 (0)