We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dc54e0 commit e4662d2Copy full SHA for e4662d2
1 file changed
src/Config/GeneralConfig.php
@@ -4096,6 +4096,7 @@ class_exists(Craft::class, false) &&
4096
) {
4097
try {
4098
$value = I18N::normalizeLanguage($value);
4099
+ /** @phpstan-ignore catch.neverThrown */
4100
} catch (\InvalidArgumentException $e) {
4101
throw new InvalidConfigException($e->getMessage(), 0, $e);
4102
}
@@ -4737,6 +4738,7 @@ public function extraAppLocales(array $value): self
4737
4738
foreach ($value as &$localeId) {
4739
4740
$localeId = I18N::normalizeLanguage($localeId);
4741
4742
4743
4744
0 commit comments