last fix and params_guide

This commit is contained in:
team 1
2026-05-04 19:12:31 +02:00
parent ebd71ba748
commit 1af158c8a9
2 changed files with 351 additions and 0 deletions

View File

@@ -237,6 +237,17 @@ final class LanguageCleanupConfig
return $map;
}
/** @return string[] */
private function getNormalizationStringList(string $key): array
{
$normalization = $this->requiredMap('normalization');
if (!array_key_exists($key, $normalization)) {
throw $this->invalid(sprintf('normalization.%s', $key), 'is missing');
}
return $this->stringListFromValue($normalization[$key], sprintf('normalization.%s', $key), true);
}
/** @return string[] */
private function requiredTopLevelStringList(string $key): array
{