Skip to content

Commit 3b51c8b

Browse files
committed
added type hints (BC break)
1 parent 1710100 commit 3b51c8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Bridges/ApplicationLatte/TemplateFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ public function __construct(
3737
}
3838

3939

40-
/** @return Template */
41-
public function createTemplate(?UI\Control $control = null, ?string $class = null): UI\Template
40+
public function createTemplate(?UI\Control $control = null, ?string $class = null): Template
4241
{
4342
$class ??= $this->templateClass;
4443
if (!is_a($class, Template::class, allow_string: true)) {

0 commit comments

Comments
 (0)