mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-10 06:08:25 +00:00
phpstan boolean corrections
This commit is contained in:
@@ -88,11 +88,11 @@ class LoadAndUpdateLanguagesCommand extends Command
|
||||
foreach (Languages::getNames() as $code => $lang) {
|
||||
$excludeCode = (
|
||||
(
|
||||
!$input->getOption(self::INCLUDE_REGIONAL_VERSION)
|
||||
null === $input->getOption(self::INCLUDE_REGIONAL_VERSION)
|
||||
&& strpos($code, '_')
|
||||
&& !\in_array($code, $this->regionalVersionToInclude, true)
|
||||
) || (
|
||||
!$input->getOption(self::INCLUDE_ANCIENT)
|
||||
null === $input->getOption(self::INCLUDE_ANCIENT)
|
||||
&& \in_array($code, $this->ancientToExclude, true)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user