@@ -52,11 +52,11 @@ |
||
52 | 52 | parent::configureOptions($resolver); |
53 | 53 | |
54 | 54 | $resolver->setDefaults([ |
55 | - 'validation_groups' => function (FormInterface $form): array { |
|
55 | + 'validation_groups' => function(FormInterface $form): array { |
|
56 | 56 | $bannerTranslation = $form->getData(); |
57 | 57 | |
58 | 58 | if (!$bannerTranslation instanceof BannerTranslationInterface || null === $bannerTranslation->getId()) { |
59 | - return array_merge($this->validationGroups, ['odiseo_image_create']); |
|
59 | + return array_merge($this->validationGroups, [ 'odiseo_image_create' ]); |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | return $this->validationGroups; |