fix code style for symfony 5

This commit is contained in:
2024-07-03 13:29:22 +02:00
parent 54d045f261
commit ead1abb825
17 changed files with 25 additions and 39 deletions

View File

@@ -35,6 +35,6 @@ class LoadAddressesLUFromBDAddressCommand extends Command
{
$this->addressImporter->import();
return 0;
return Command::SUCCESS;
}
}

View File

@@ -19,9 +19,7 @@ class AddressReferenceLU
{
private const RELEASE = 'https://data.public.lu/fr/datasets/r/5cadc5b8-6a7d-4283-87bc-f9e58dd771f7';
public function __construct(private readonly HttpClientInterface $client, private readonly AddressReferenceBaseImporter $addressBaseImporter, private readonly PostalCodeBaseImporter $postalCodeBaseImporter, private readonly AddressToReferenceMatcher $addressToReferenceMatcher)
{
}
public function __construct(private readonly HttpClientInterface $client, private readonly AddressReferenceBaseImporter $addressBaseImporter, private readonly PostalCodeBaseImporter $postalCodeBaseImporter, private readonly AddressToReferenceMatcher $addressToReferenceMatcher) {}
public function import(): void
{