protected function configureByteProperty($property, OptionsResolver $resolver)
    {
        $resolver
            ->setAllowedTypes($property, 'byte')
            ->setNormalizer($property, function (Options $options, $value) {
                return is_numeric($value) ? intval($value) : $value;
            });
    }