public function loadValuesForChoices(array
$choices, callable
$value = null
): array
{ $choices =
array_filter($choices);
// If no callable is set, choices are the same as values
if (null ===
$value) { return $choices;
} return parent::
loadValuesForChoices($choices,
$value);
}}