Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 8, 2024
1 parent b11efb4 commit adad250
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Bridges/ApplicationLatte/TemplateFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit adad250

Please sign in to comment.