@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | */ |
| 25 | 25 | public function finishView(FormView $view, FormInterface $form, array $options): void |
| 26 | 26 | { |
| 27 | - $format = 'HH'; |
|
| 27 | + $format = 'HH'; |
|
| 28 | 28 | |
| 29 | 29 | if ($options['with_minutes']) { |
| 30 | 30 | $format .= ':mm'; |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | $dpKey = substr($key, 3); |
| 86 | 86 | $dpKey = preg_replace_callback( |
| 87 | 87 | '/_([a-z])/', |
| 88 | - static function ($c) { |
|
| 88 | + static function($c) { |
|
| 89 | 89 | return strtoupper($c[1]); |
| 90 | 90 | }, |
| 91 | 91 | $dpKey |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | $resolver->setDefaults([ |
| 28 | 28 | 'choices' => array_combine($countries, $countries), |
| 29 | - 'choice_label' => static function ($value, $key, $index) { |
|
| 29 | + 'choice_label' => static function($value, $key, $index) { |
|
| 30 | 30 | return 'form.choice_'.strtolower($value); |
| 31 | 31 | }, |
| 32 | 32 | 'choice_translation_domain' => 'Core23FormBundle', |