Skip to content

Commit

Permalink
Remove return type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-goe committed Jul 8, 2024
1 parent 4f78d39 commit 9e087e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/Data/ArrayFirstViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/Data/ValueForKeyViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']))) {
Expand Down
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/Find/FacetIsActiveViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 9e087e6

Please sign in to comment.