Skip to content

Commit 7282648

Browse files
wouterjnicolas-grekas
authored andcommitted
Add missing return types to magic methods
1 parent 80222b0 commit 7282648

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Loader/Configurator/CollectionConfigurator.php

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

46+
/**
47+
* @return void
48+
*/
4649
public function __wakeup()
4750
{
4851
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);

Loader/Configurator/ImportConfigurator.php

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

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

0 commit comments

Comments
 (0)