diff --git a/core/modules/image/src/Form/ImageStyleEditForm.php b/core/modules/image/src/Form/ImageStyleEditForm.php index 748159c..12d095a 100644 --- a/core/modules/image/src/Form/ImageStyleEditForm.php +++ b/core/modules/image/src/Form/ImageStyleEditForm.php @@ -144,7 +144,7 @@ public function form(array $form, FormStateInterface $form_state) { $new_effect_options = []; $effects = $this->imageEffectManager->getDefinitions(); uasort($effects, function ($a, $b) { - return Unicode::strcasecmp((string) $a['label'], (string) $b['label']); + return Unicode::strcasecmp($a['label'], $b['label']); }); foreach ($effects as $effect => $definition) { $new_effect_options[$effect] = $definition['label'];