mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 21:13:57 +00:00
Fixes phpstan
This commit is contained in:
@@ -34,7 +34,7 @@ class GenderType extends AbstractType
|
||||
'multiple' => false,
|
||||
'mapped' => true,
|
||||
'choice_label' => fn(GenderIconEnum $enum) => '<i class="' . strtolower($enum->value) . '"></i>',
|
||||
'choice_value' => fn(?GenderIconEnum $enum) => $enum ? $enum->value : null,
|
||||
'choice_value' => fn(?GenderIconEnum $enum) => null !== $enum ? $enum->value : null,
|
||||
'label' => 'gender.admin.Select Gender Icon',
|
||||
'label_html' => true,
|
||||
])
|
||||
|
Reference in New Issue
Block a user