Skip to content

Commit fde2ac0

Browse files
wouterjnicolas-grekas
authored andcommitted
[Components] Convert to native return types
1 parent 87d22b7 commit fde2ac0

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

EventListener/MessageLoggerListener.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ public function __construct()
3030
$this->events = new MessageEvents();
3131
}
3232

33-
/**
34-
* @return void
35-
*/
36-
public function reset()
33+
public function reset(): void
3734
{
3835
$this->events = new MessageEvents();
3936
}

Transport/Smtp/SmtpTransport.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,7 @@ public function __sleep(): array
372372
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);
373373
}
374374

375-
/**
376-
* @return void
377-
*/
378-
public function __wakeup()
375+
public function __wakeup(): void
379376
{
380377
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
381378
}

0 commit comments

Comments
 (0)