Skip to content
Snippets Groups Projects
Commit 214ed2e8 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #4181

Closes #4181

Merge request !3021
parent 1b282d0f
No related branches found
No related tags found
No related merge requests found
......@@ -224,10 +224,10 @@ class Factory
* Class method to parse, render and return the presentation of a
* template.
*
* @param Template|string $template A name of a template or a template
* @param array $attributes An associative array of attributes and their
* associated values.
* @param string|null $layout A name of a layout template.
* @param Template|string $template A name of a template or a template
* @param array $attributes An associative array of attributes and their
* associated values.
* @param Template|string|null $layout A name of a layout template or a template.
*
* @return string A string representing the rendered presentation.
*
......@@ -236,7 +236,7 @@ class Factory
public function render(
Template|string $template,
array $attributes = [],
?string $layout = null
Template|string|null $layout = null
): string {
return $this->open($template)->render($attributes, $layout);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment