mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-16 10:59:31 +00:00
fix CS
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user