Skip to content

Commit ab707c5

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 78a34b3 + e43f8a1 commit ab707c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

BufferingLogger.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ public function __sleep(): array
4040
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
4141
}
4242

43+
/**
44+
* @return void
45+
*/
4346
public function __wakeup()
4447
{
4548
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);

0 commit comments

Comments
 (0)