8000 [Mailer] Precise AbstractApiTransport::getRecipients signature · zim32/symfony@3f1f89f · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f1f89f

Browse files
VincentLangletfabpot
authored andcommitted
[Mailer] Precise AbstractApiTransport::getRecipients signature
1 parent 4c1d953 commit 3f1f89f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/Mailer/Transport/AbstractApiTransport.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ protected function doSendHttp(SentMessage $message): ResponseInterface
3737
return $this->doSendApi($message, $email, $message->getEnvelope());
3838
}
3939

40+
/**
41+
* @return Address[]
42+
*/
4043
protected function getRecipients(Email $email, Envelope $envelope): array
4144
{
4245
return array_filter($envelope->getRecipients(), fn (Address $address) => false === \in_array($address, array_merge($email->getCc(), $email->getBcc()), true));

0 commit comments

Comments
 (0)
0