Skip to content

Commit

Permalink
[BUGFIX] Cast possibly-null, possibly-integer output of View->render
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Aug 1, 2024
1 parent d08c71b commit 100cb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/Render/AbstractRenderViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected static function renderView($view, array $arguments): string
}
$content = $error->getMessage() . ' (' . $error->getCode() . ')';
}
return $content;
return (string) $content;
}

protected static function getPreparedView(): StandaloneView
Expand Down

0 comments on commit 100cb7b

Please sign in to comment.