Skip to content

Commit 5b26624

Browse files
wouterjnicolas-grekas
authored andcommitted
Add missing return types to magic methods
1 parent 9bca4bd commit 5b26624

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Transport/Smtp/SmtpTransport.php

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

380+
/**
381+
* @return void
382+
*/
380383
public function __wakeup()
381384
{
382385
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);

0 commit comments

Comments
 (0)