From 8ef4cd34f329d81eed741307f1deb4cd71fa9e68 Mon Sep 17 00:00:00 2001 From: Robert Lemke Date: Wed, 19 Jun 2024 08:59:40 +0200 Subject: [PATCH] TASK: Add missing type declaration from Flow 8.3 While branching 8.4, this type declaration got lost and should be added again. --- Neos.FluidAdaptor/Classes/ViewHelpers/Form/SelectViewHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.FluidAdaptor/Classes/ViewHelpers/Form/SelectViewHelper.php b/Neos.FluidAdaptor/Classes/ViewHelpers/Form/SelectViewHelper.php index 0b8e93fd46..a2dde44370 100644 --- a/Neos.FluidAdaptor/Classes/ViewHelpers/Form/SelectViewHelper.php +++ b/Neos.FluidAdaptor/Classes/ViewHelpers/Form/SelectViewHelper.php @@ -375,7 +375,7 @@ protected function renderOptionTag(mixed $value, string $label) $output .= ' selected="selected"'; } - $output .= '>' . htmlspecialchars($label) . ''; + $output .= '>' . htmlspecialchars((string)$label) . ''; return $output; }