update cs after php-cs-fixer upgrade

This commit is contained in:
2024-09-12 12:02:33 +02:00
parent 5d0b531820
commit f0f651edea
286 changed files with 374 additions and 374 deletions

View File

@@ -68,7 +68,7 @@ final class AddressReferenceBaseImporter
string $source,
?float $lat = null,
?float $lon = null,
?int $srid = null
?int $srid = null,
): void {
if (!$this->isInitialized) {
$this->initialize($source);

View File

@@ -64,7 +64,7 @@ final class GeographicalUnitBaseImporter
string $unitName,
string $unitKey,
string $geomAsWKT,
?int $srid = null
?int $srid = null,
): void {
$this->initialize();

View File

@@ -69,7 +69,7 @@ class PostalCodeBaseImporter
string $refPostalCodeSource,
float $centerLat,
float $centerLon,
int $centerSRID
int $centerSRID,
): void {
$this->waitingForInsert[] = [
$countryCode,

View File

@@ -68,7 +68,7 @@ class RollingDate
public function __construct(
private readonly string $roll,
private readonly ?\DateTimeImmutable $fixedDate = null,
private readonly \DateTimeImmutable $pivotDate = new \DateTimeImmutable('now')
private readonly \DateTimeImmutable $pivotDate = new \DateTimeImmutable('now'),
) {}
public function getFixedDate(): ?\DateTimeImmutable

View File

@@ -35,7 +35,7 @@ class OvhShortMessageSender implements ShortMessageSenderInterface
private readonly string $sender,
// for DI, must remains as third argument
private readonly LoggerInterface $logger,
private readonly PhoneNumberUtil $phoneNumberUtil
private readonly PhoneNumberUtil $phoneNumberUtil,
) {}
public function send(ShortMessage $shortMessage): void