From 7773f96237a62b4b652523c1aed05a982689d95a Mon Sep 17 00:00:00 2001 From: Benjamin Kott Date: Fri, 30 Jun 2023 15:31:55 +0200 Subject: [PATCH] [BUGFIX] PHPStan --- Classes/Form/FieldWizard/IconWizard.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Classes/Form/FieldWizard/IconWizard.php b/Classes/Form/FieldWizard/IconWizard.php index 632ee58ba..1a50bb01e 100644 --- a/Classes/Form/FieldWizard/IconWizard.php +++ b/Classes/Form/FieldWizard/IconWizard.php @@ -79,11 +79,9 @@ public function render(): array foreach ($selectIcons as $selectIcon) { $active = $selectIcon['active'] ? ' active' : ''; $html[] = '
'; - if (is_array($selectIcon)) { - $html[] = ''; - $html[] = $selectIcon['icon']; - $html[] = ''; - } + $html[] = ''; + $html[] = $selectIcon['icon']; + $html[] = ''; $html[] = '
'; } $html[] = '';