diff --git a/Classes/ViewHelpers/Data/ArrayFirstViewHelper.php b/Classes/ViewHelpers/Data/ArrayFirstViewHelper.php index 466f583e..8e902beb 100644 --- a/Classes/ViewHelpers/Data/ArrayFirstViewHelper.php +++ b/Classes/ViewHelpers/Data/ArrayFirstViewHelper.php @@ -53,7 +53,7 @@ public function initializeArguments() * @param RenderingContextInterface $renderingContext * @return string|int|bool|array */ - public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext): string|int|bool|array + public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) { $result = null; diff --git a/Classes/ViewHelpers/Data/ValueForKeyViewHelper.php b/Classes/ViewHelpers/Data/ValueForKeyViewHelper.php index 1d637bf2..5aec6231 100644 --- a/Classes/ViewHelpers/Data/ValueForKeyViewHelper.php +++ b/Classes/ViewHelpers/Data/ValueForKeyViewHelper.php @@ -54,7 +54,7 @@ public static function renderStatic( array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext - ): string|int|bool|array { + ) { $result = null; if ((is_int($arguments['key']) || is_string($arguments['key'])) && ($arguments['array'] && array_key_exists($arguments['key'], $arguments['array']))) { diff --git a/Classes/ViewHelpers/Find/FacetIsActiveViewHelper.php b/Classes/ViewHelpers/Find/FacetIsActiveViewHelper.php index f157a8eb..260852eb 100644 --- a/Classes/ViewHelpers/Find/FacetIsActiveViewHelper.php +++ b/Classes/ViewHelpers/Find/FacetIsActiveViewHelper.php @@ -65,7 +65,7 @@ public static function renderStatic( array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext - ): string|int|bool|array { + ) { foreach ($arguments['activeFacets'] as $facets) { foreach ($facets as $facetInfo) { if ($facetInfo['id'] === $arguments['facetID']