Skip to content

Commit

Permalink
[BUGFIX] PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Jun 30, 2023
1 parent f410d58 commit 7773f96
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Classes/Form/FieldWizard/IconWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,9 @@ public function render(): array
foreach ($selectIcons as $selectIcon) {
$active = $selectIcon['active'] ? ' active' : '';
$html[] = '<div class="col col-auto item' . $active . '">';
if (is_array($selectIcon)) {
$html[] = '<a href="#" title="' . htmlspecialchars($selectIcon['title'], ENT_COMPAT, 'UTF-8', false) . '" data-select-index="' . htmlspecialchars((string)$selectIcon['index']) . '">';
$html[] = $selectIcon['icon'];
$html[] = '</a>';
}
$html[] = '<a href="#" title="' . htmlspecialchars($selectIcon['title'], ENT_COMPAT, 'UTF-8', false) . '" data-select-index="' . htmlspecialchars((string)$selectIcon['index']) . '">';
$html[] = $selectIcon['icon'];
$html[] = '</a>';
$html[] = '</div>';
}
$html[] = '</div>';
Expand Down

0 comments on commit 7773f96

Please sign in to comment.