DX: fix cs

This commit is contained in:
2023-04-15 00:43:55 +02:00
parent 80647147ee
commit 746ed4f5e5
188 changed files with 309 additions and 308 deletions

View File

@@ -54,7 +54,7 @@ class AddressReferenceBEFromBestAddress
throw new RuntimeException('could not get the release definition', 0, $e);
}
$asset = array_filter($release['assets'], static fn(array $item) => 'addresses-' . $list . '.' . $lang . '.csv.gz' === $item['name']);
$asset = array_filter($release['assets'], static fn (array $item) => 'addresses-' . $list . '.' . $lang . '.csv.gz' === $item['name']);
return array_values($asset)[0]['browser_download_url'];
}

View File

@@ -82,7 +82,7 @@ class PostalCodeBEFromBestAddress
throw new RuntimeException('could not get the release definition', 0, $e);
}
$postals = array_filter($release['assets'], static fn(array $item) => 'postals.' . $lang . '.csv.gz' === $item['name']);
$postals = array_filter($release['assets'], static fn (array $item) => 'postals.' . $lang . '.csv.gz' === $item['name']);
return array_values($postals)[0]['browser_download_url'];
}

View File

@@ -39,7 +39,7 @@ class ChillMailer implements MailerInterface
}
$this->chillLogger->info('chill email sent', [
'to' => array_map(static fn(Address $address) => $address->getAddress(), $message->getTo()),
'to' => array_map(static fn (Address $address) => $address->getAddress(), $message->getTo()),
'subject' => $message->getSubject(),
]);