Skip to content

Commit d0f941a

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

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Adapter/ExtLdap/Connection.php

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

49+
/**
50+
* @return void
51+
*/
4952
public function __wakeup()
5053
{
5154
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);

Adapter/ExtLdap/Query.php

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

39+
/**
40+
* @return void
41+
*/
3942
public function __wakeup()
4043
{
4144
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);

0 commit comments

Comments
 (0)