From fc301e838855f201cdb955bbdc09709193717900 Mon Sep 17 00:00:00 2001 From: raviks789 <33730024+raviks789@users.noreply.github.com> Date: Fri, 18 Aug 2023 16:58:50 +0200 Subject: [PATCH] `TemplateString`: Define parameter type as string|null for `$for` parameter of `parseTemplates()` method --- src/TemplateString.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TemplateString.php b/src/TemplateString.php index 611ea121..b1e01c0f 100644 --- a/src/TemplateString.php +++ b/src/TemplateString.php @@ -49,7 +49,7 @@ public function __construct($format, $args = null) /** * Parse template strings * - * @param null $for template name + * @param ?string $for template name * @return HtmlDocument * @throws Exception in case of missing template argument or unbounded open or close templates */