| @@ -110,7 +110,7 @@ | ||
| 110 | 110 | $propertyAccessor = PropertyAccess::createPropertyAccessor(); | 
| 111 | 111 | |
| 112 | 112 |          try { | 
| 113 | - $value = $propertyAccessor->getValue($object, $field); | |
| 113 | + $value = $propertyAccessor->getValue($object, $field); | |
| 114 | 114 |          } catch (NoSuchPropertyException $e) { | 
| 115 | 115 | throw new InvalidArgumentException($e->getMessage()); | 
| 116 | 116 | } | 
| @@ -31,7 +31,7 @@ | ||
| 31 | 31 | 'male' => static::TYPE_MALE, | 
| 32 | 32 | 'female' => static::TYPE_FEMALE, | 
| 33 | 33 | ], | 
| 34 | -            'choice_label' => static function ($value, $key, $index) { | |
| 34 | +            'choice_label' => static function($value, $key, $index) { | |
| 35 | 35 | return 'gender.'.$key; | 
| 36 | 36 | }, | 
| 37 | 37 | 'choice_translation_domain' => 'Core23FormBundle', | 
| @@ -45,7 +45,7 @@ | ||
| 45 | 45 | */ | 
| 46 | 46 | public function configureOptions(OptionsResolver $resolver): void | 
| 47 | 47 |      { | 
| 48 | -        $helpTranslationDomainNormalizer = static function (Options $options, $helpTranslationDomain) { | |
| 48 | +        $helpTranslationDomainNormalizer = static function(Options $options, $helpTranslationDomain) { | |
| 49 | 49 |              if (null === $helpTranslationDomain && $options->offsetExists('translation_domain')) { | 
| 50 | 50 |                  return $options->offsetGet('translation_domain'); | 
| 51 | 51 | } | 
| @@ -155,7 +155,7 @@ | ||
| 155 | 155 | |
| 156 | 156 | private function equalToErrors(): Constraint | 
| 157 | 157 |      { | 
| 158 | -        return static::callback(function ($error) { | |
| 158 | +        return static::callback(function($error) { | |
| 159 | 159 |              if ($error instanceof FormError) { | 
| 160 | 160 |                  foreach ($this->errors as &$data) { | 
| 161 | 161 |                      if ($error->getMessage() === $data['message'] && $error->getMessageParameters() === $data['parameters']) { | 
| @@ -57,7 +57,7 @@ | ||
| 57 | 57 | |
| 58 | 58 | public function getSeconds(): int | 
| 59 | 59 |      { | 
| 60 | - $seconds = $this->getDay() * 86400; | |
| 60 | + $seconds = $this->getDay() * 86400; | |
| 61 | 61 | |
| 62 | 62 |          if (null !== $this->getTime()) { | 
| 63 | 63 | $time = clone $this->getTime(); | 
| @@ -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', |