Update signature to acknowledge a TemplateWrapper

This commit is contained in:
Richard Henkenjohann
2023-07-01 16:42:59 +02:00
committed by GitHub
parent 58f7b22081
commit b0cabc093c
+6 -6
View File
@@ -1303,12 +1303,12 @@ function twig_test_iterable($value)
/**
* Renders a template.
*
* @param array $context
* @param string|array $template The template to render or an array of templates to try consecutively
* @param array $variables The variables to pass to the template
* @param bool $withContext
* @param bool $ignoreMissing Whether to ignore missing templates or not
* @param bool $sandboxed Whether to sandbox the template or not
* @param array $context
* @param string|array|TemplateWrapper $template The template to render or an array of templates to try consecutively
* @param array $variables The variables to pass to the template
* @param bool $withContext
* @param bool $ignoreMissing Whether to ignore missing templates or not
* @param bool $sandboxed Whether to sandbox the template or not
*
* @return string The rendered template
*/