@@ -47,7 +47,7 @@ |
||
| 47 | 47 | */ |
| 48 | 48 | public function configureOptions(OptionsResolver $resolver) |
| 49 | 49 | { |
| 50 | - $helpTranslationDomainNormalizer = function (Options $options, $helpTranslationDomain) { |
|
| 50 | + $helpTranslationDomainNormalizer = function(Options $options, $helpTranslationDomain) { |
|
| 51 | 51 | if (true === $helpTranslationDomain) { |
| 52 | 52 | return $options['translation_domain']; |
| 53 | 53 | } |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $dpKey = substr($key, 3); |
| 44 | 44 | $dpKey = preg_replace_callback( |
| 45 | 45 | '/_([a-z])/', |
| 46 | - function ($c) { |
|
| 46 | + function($c) { |
|
| 47 | 47 | return strtoupper($c[1]); |
| 48 | 48 | }, |
| 49 | 49 | $dpKey |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | $resolver->setDefaults(array( |
| 26 | 26 | 'choices' => array_combine($countries, $countries), |
| 27 | - 'choice_label' => function ($value, $key, $index) { |
|
| 27 | + 'choice_label' => function($value, $key, $index) { |
|
| 28 | 28 | return 'form.choice_'.strtolower($value); |
| 29 | 29 | }, |
| 30 | 30 | 'translation_domain' => 'Core23FormExtensionsBundle', |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | try { |
| 36 | - $firstDate = $this->getFieldValue($value, $constraint->firstField); |
|
| 36 | + $firstDate = $this->getFieldValue($value, $constraint->firstField); |
|
| 37 | 37 | } catch (NoSuchPropertyException $e) { |
| 38 | 38 | throw new InvalidArgumentException($e->getMessage()); |
| 39 | 39 | } |