Skip to content

Commit 6e27fa4

Browse files
wouterjnicolas-grekas
authored andcommitted
Add missing return types to magic methods
1 parent f7783d2 commit 6e27fa4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Util/OrderedHashMapIterator.php

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

65+
/**
66+
* @return void
67+
*/
6568
public function __wakeup()
6669
{
6770
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);

0 commit comments

Comments
 (0)