mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
Upgrade of php-cs-fixer
This commit is contained in:
@@ -88,7 +88,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);
|
||||
|
@@ -66,7 +66,7 @@ final class GeographicalUnitBaseImporter
|
||||
string $unitName,
|
||||
string $unitKey,
|
||||
string $geomAsWKT,
|
||||
?int $srid = null
|
||||
?int $srid = null,
|
||||
): void {
|
||||
$this->initialize();
|
||||
|
||||
|
@@ -72,7 +72,7 @@ class PostalCodeBaseImporter
|
||||
string $refPostalCodeSource,
|
||||
float $centerLat,
|
||||
float $centerLon,
|
||||
int $centerSRID
|
||||
int $centerSRID,
|
||||
): void {
|
||||
$this->waitingForInsert[] = [
|
||||
$countryCode,
|
||||
|
@@ -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'),
|
||||
) {
|
||||
}
|
||||
|
||||
|
@@ -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,
|
||||
) {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user