|  | @@ -43,11 +43,11 @@ | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 43 | 43 |          parent::configureOptions($resolver); | 
                                                                                                            
                                                            | 44 | 44 |   | 
                                                                                                            
                                                            | 45 | 45 |          $resolver->setDefaults([ | 
                                                                                                            
                                                            | 46 |  | -            'validation_groups' => function (FormInterface $form) { | 
                                                                                                            
                                                            |  | 46 | +            'validation_groups' => function(FormInterface $form) { | 
                                                                                                            
                                                            | 47 | 47 |                  $bannerTranslation = $form->getData(); | 
                                                                                                            
                                                            | 48 | 48 |   | 
                                                                                                            
                                                            | 49 | 49 |                  if (!$bannerTranslation || null === $bannerTranslation->getId()) { | 
                                                                                                            
                                                            | 50 |  | -                    return array_merge($this->validationGroups, ['odiseo_image_create']); | 
                                                                                                            
                                                            |  | 50 | +                    return array_merge($this->validationGroups, [ 'odiseo_image_create' ]); | 
                                                                                                            
                                                            | 51 | 51 |                  } | 
                                                                                                            
                                                            | 52 | 52 |   | 
                                                                                                            
                                                            | 53 | 53 |                  return $this->validationGroups; | 
                                                                                                                                                
                                         
                                        
                                            
                                                                                                    Please login to merge, or discard this patch.