From adad250a12ca3d8cad82604e1aebe85b2ce27736 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 8 Feb 2024 21:39:57 +0100 Subject: [PATCH] type --- src/Bridges/ApplicationLatte/TemplateFactory.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Bridges/ApplicationLatte/TemplateFactory.php b/src/Bridges/ApplicationLatte/TemplateFactory.php index bc7b0c042..f00e7fb00 100644 --- a/src/Bridges/ApplicationLatte/TemplateFactory.php +++ b/src/Bridges/ApplicationLatte/TemplateFactory.php @@ -39,8 +39,7 @@ public function __construct( } - /** @return Template */ - public function createTemplate(?UI\Control $control = null, ?string $class = null): UI\Template + public function createTemplate(?UI\Control $control = null, ?string $class = null): Template { $class ??= $this->templateClass; if (!is_a($class, Template::class, allow_string: true)) {