I have `2.3.11` Symfony and it's working correctly, can't say for versions below but I guess it should be ok as we force to save integers in forms.