Skip to content

Commit

Permalink
TemplateString: Define parameter type as string|null for $for par…
Browse files Browse the repository at this point in the history
…ameter of `parseTemplates()` method
  • Loading branch information
raviks789 committed Aug 18, 2023
1 parent 633f91c commit fc301e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TemplateString.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit fc301e8

Please sign in to comment.