Skip to content

Commit

Permalink
Added return type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
vilius-g committed Jan 9, 2020
1 parent f9a675e commit 6a3f9bc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -64,7 +64,7 @@ protected function doSend(SentMessage $message): void
*/
private function getRecipients(SmtpEnvelope $envelope): array
{
return array_map(function (Address $recipient) {
return array_map(function (Address $recipient): string {
return $recipient->getAddress();
}, $envelope->getRecipients());
}
Expand Down

0 comments on commit 6a3f9bc

Please sign in to comment.