| @@ -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', | 
| @@ -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(); | 
| @@ -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', | 
| @@ -39,7 +39,7 @@ | ||
| 39 | 39 | |
| 40 | 40 | public function configureOptions(OptionsResolver $resolver): void | 
| 41 | 41 |      { | 
| 42 | -        $helpTranslationDomainNormalizer = static function (Options $options, $helpTranslationDomain) { | |
| 42 | +        $helpTranslationDomainNormalizer = static function(Options $options, $helpTranslationDomain) { | |
| 43 | 43 |              if (null === $helpTranslationDomain && $options->offsetExists('translation_domain')) { | 
| 44 | 44 |                  return $options->offsetGet('translation_domain'); | 
| 45 | 45 | } | 
| @@ -21,7 +21,7 @@ discard block | ||
| 21 | 21 |  { | 
| 22 | 22 | public function finishView(FormView $view, FormInterface $form, array $options): void | 
| 23 | 23 |      { | 
| 24 | - $format = 'HH'; | |
| 24 | + $format = 'HH'; | |
| 25 | 25 | |
| 26 | 26 |          if (true === $options['with_minutes']) { | 
| 27 | 27 | $format .= ':mm'; | 
| @@ -73,7 +73,7 @@ discard block | ||
| 73 | 73 | $dpKey = substr($key, 3); | 
| 74 | 74 | $dpKey = preg_replace_callback( | 
| 75 | 75 | '/_([a-z])/', | 
| 76 | -                    static function ($c) { | |
| 76 | +                    static function($c) { | |
| 77 | 77 | return strtoupper($c[1]); | 
| 78 | 78 | }, | 
| 79 | 79 | $dpKey |