Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 150 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 150 Revision 200
Zeile 37... Zeile 37...
37
        return $this->doSendApi($message, $email, $message->getEnvelope());
37
        return $this->doSendApi($message, $email, $message->getEnvelope());
38
    }
38
    }
Zeile 39... Zeile 39...
39
 
39
 
40
    protected function getRecipients(Email $email, Envelope $envelope): array
40
    protected function getRecipients(Email $email, Envelope $envelope): array
-
 
41
    {
41
    {
42
        return array_filter($envelope->getRecipients(), function (Address $address) use ($email) {
-
 
43
            return false === \in_array($address, array_merge($email->getCc(), $email->getBcc()), true);
42
        return array_filter($envelope->getRecipients(), fn (Address $address) => false === \in_array($address, array_merge($email->getCc(), $email->getBcc()), true));
44
        });
43
    }
45
    }