@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public function configureOptions(OptionsResolver $resolver): void |
51 | 51 | { |
52 | - $helpTranslationDomainNormalizer = function (Options $options, $helpTranslationDomain) { |
|
52 | + $helpTranslationDomainNormalizer = function(Options $options, $helpTranslationDomain) { |
|
53 | 53 | if (true === $helpTranslationDomain) { |
54 | 54 | return $options['translation_domain']; |
55 | 55 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | 'male' => static::TYPE_MALE, |
32 | 32 | 'female' => static::TYPE_FEMALE, |
33 | 33 | ], |
34 | - 'choice_label' => function ($value, $key, $index) { |
|
34 | + 'choice_label' => function($value, $key, $index) { |
|
35 | 35 | return 'gender.'.$key; |
36 | 36 | }, |
37 | 37 | 'choice_translation_domain' => 'Core23FormExtensionsBundle', |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * (c) Christian Gripp <[email protected]> |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | |
27 | 27 | $resolver->setDefaults([ |
28 | 28 | 'choices' => array_combine($countries, $countries), |
29 | - 'choice_label' => function ($value, $key, $index) { |
|
29 | + 'choice_label' => function($value, $key, $index) { |
|
30 | 30 | return 'form.choice_'.strtolower($value); |
31 | 31 | }, |
32 | 32 | 'translation_domain' => 'Core23FormExtensionsBundle', |