@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | ->setDefault('choices_as_values', true) |
| 45 | 45 | ->setAllowedValues( |
| 46 | 46 | 'enum', |
| 47 | - function ($name) { |
|
| 47 | + function($name) { |
|
| 48 | 48 | return $this->enumRegistry->has($name); |
| 49 | 49 | } |
| 50 | 50 | ) |
@@ -52,8 +52,8 @@ discard block |
||
| 52 | 52 | ->setDefault('enum_translation_domain', 'messages') |
| 53 | 53 | ->setDefault( |
| 54 | 54 | 'choices', |
| 55 | - function (Options $options) { |
|
| 56 | - $choices = array_map(function ($choice) use ($options) { |
|
| 55 | + function(Options $options) { |
|
| 56 | + $choices = array_map(function($choice) use ($options) { |
|
| 57 | 57 | return $this->translator->trans( |
| 58 | 58 | $choice, |
| 59 | 59 | $options['enum_translation_parameters'], |