This commit is contained in:
2025-11-03 16:22:33 +01:00
parent 7654db4e39
commit 662e962549
121 changed files with 132 additions and 172 deletions

View File

@@ -39,9 +39,7 @@ class LoadAndUpdateLanguagesCommand
/**
* LoadCountriesCommand constructor.
*/
public function __construct(private readonly EntityManagerInterface $entityManager, private readonly ParameterBagInterface $parameterBag)
{
}
public function __construct(private readonly EntityManagerInterface $entityManager, private readonly ParameterBagInterface $parameterBag) {}
/**
* (non-PHPdoc).
@@ -52,8 +50,8 @@ class LoadAndUpdateLanguagesCommand
#[\Symfony\Component\Console\Attribute\Option(name: self::INCLUDE_REGIONAL_VERSION, mode: InputOption::VALUE_NONE, description: 'Include the regional languages. The regional languages are languages with code containing')]
bool $includeRegional = false,
#[\Symfony\Component\Console\Attribute\Option(name: self::INCLUDE_ANCIENT, mode: InputOption::VALUE_NONE, description: 'Include the ancient languages that are languages with code ')]
bool $includeAncient = false): int
{
bool $includeAncient = false,
): int {
$em = $this->entityManager;
$chillAvailableLanguages = $this->parameterBag->get('chill_main.available_languages');
$languages = [];