mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 11:33:49 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -39,9 +39,7 @@ class ChillMailer implements MailerInterface
|
||||
}
|
||||
|
||||
$this->chillLogger->info('chill email sent', [
|
||||
'to' => array_map(static function (Address $address) {
|
||||
return $address->getAddress();
|
||||
}, $message->getTo()),
|
||||
'to' => array_map(static fn(Address $address) => $address->getAddress(), $message->getTo()),
|
||||
'subject' => $message->getSubject(),
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user