Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / ckeditor / src / Plugin / CKEditorPlugin / StylesCombo.php
index 7b3386efe034de7d248ce3866483873a20e92b52..2f14bca89a9997632a69834b7331c1f5b7aec6d9 100644 (file)
@@ -101,7 +101,9 @@ class StylesCombo extends CKEditorPluginBase implements CKEditorPluginConfigurab
       $form_state->setError($element, $this->t('The provided list of styles is syntactically incorrect.'));
     }
     else {
-      $style_names = array_map(function ($style) { return $style['name']; }, $styles_setting);
+      $style_names = array_map(function ($style) {
+        return $style['name'];
+      }, $styles_setting);
       if (count($style_names) !== count(array_unique($style_names))) {
         $form_state->setError($element, $this->t('Each style must have a unique label.'));
       }