Make unit tests working

This commit is contained in:
Eric Espie
2025-10-02 09:48:22 +02:00
parent 0ea0da525e
commit 39fd879ca9
83 changed files with 1924 additions and 262 deletions

View File

@@ -114,7 +114,7 @@ class ArrayChoiceList implements ChoiceListInterface
$choices = [];
foreach ($values as $i => $givenValue) {
if (\array_key_exists($givenValue, $this->choices)) {
if (\array_key_exists($givenValue ?? '', $this->choices)) {
$choices[$i] = $this->choices[$givenValue];
}
}