Skip to content

Commit 58817d8

Browse files
feature #50842 Add missing return types to magic methods (wouterj)
This PR was merged into the 6.4 branch. Discussion ---------- Add missing return types to magic methods | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | yes | Tickets | - | License | MIT | Doc PR | - I promise, these 72 methods really are the last methods that did not have a return type already 🙃 Commits ------- 6b270010c4 Add missing return types to magic methods
2 parents cde6dbd + 4b4aee5 commit 58817d8

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)