mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix uppercase in person form with strict types
This commit is contained in:
parent
2788149db4
commit
25147704ad
@ -114,10 +114,10 @@ class PersonType extends AbstractType
|
|||||||
|
|
||||||
$builder->get('placeOfBirth')->addModelTransformer(new CallbackTransformer(
|
$builder->get('placeOfBirth')->addModelTransformer(new CallbackTransformer(
|
||||||
static function ($string) {
|
static function ($string) {
|
||||||
return strtoupper($string);
|
return strtoupper((string) $string);
|
||||||
},
|
},
|
||||||
static function ($string) {
|
static function ($string) {
|
||||||
return strtoupper($string);
|
return strtoupper((string) $string);
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user