| @@ -52,8 +52,7 @@ | ||
| 52 | 52 | } | 
| 53 | 53 | |
| 54 | 54 | $hash = is_array($value['identifiers']) ? | 
| 55 | - $value['identifiers'] : | |
| 56 | - [$value['identifiers']]; | |
| 55 | + $value['identifiers'] : [$value['identifiers']]; | |
| 57 | 56 | |
| 58 | 57 | return $this->fieldType->fromHash($hash); | 
| 59 | 58 | } | 
| @@ -296,8 +296,7 @@ | ||
| 296 | 296 |                          if ($emptyCount > ($fieldSettings['isMultiple'] ? 0 : 1)) { | 
| 297 | 297 | $validationErrors[] = new ValidationError( | 
| 298 | 298 | $fieldSettings['isMultiple'] ? | 
| 299 | - "'%setting%' setting value item's 'identifier' property must have a value" : | |
| 300 | - "'%setting%' setting value item's 'identifier' property must have only a single empty value", | |
| 299 | + "'%setting%' setting value item's 'identifier' property must have a value" : "'%setting%' setting value item's 'identifier' property must have only a single empty value", | |
| 301 | 300 | null, | 
| 302 | 301 | [ | 
| 303 | 302 | '%setting%' => $name, | 
| @@ -23,7 +23,7 @@ | ||
| 23 | 23 | |
| 24 | 24 | public function buildForm(FormBuilderInterface $builder, array $options): void | 
| 25 | 25 |      { | 
| 26 | -        $languageCodeChoices = (function (): Generator { | |
| 26 | +        $languageCodeChoices = (function(): Generator { | |
| 27 | 27 | yield 'field_definition.sckenhancedselection.settings.options.all_languages' => ''; | 
| 28 | 28 | |
| 29 | 29 |              foreach ($this->languageService->loadLanguages() as $language) { |