8000 Added return type annotation · symfony/symfony@6a3f9bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a3f9bc

Browse files
committed
Added return type annotation
1 parent f9a675e commit 6a3f9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Mailchimp/Http/MandrillTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function doSend(SentMessage $message): void
6464
*/
6565
private function getRecipients(SmtpEnvelope $envelope): array
6666
{
67-
return array_map(function (Address $recipient) {
67+
return array_map(function (Address $recipient): string {
6868
return $recipient->getAddress();
6969
}, $envelope->getRecipients());
7070
}

0 commit comments

Comments
 (0)
0