The type Tarsana\Command\Template...plate\Twig\TwigTemplate was not found. Did you mean Tarsana\Command\Template\Twig\TwigTemplate? If so, make sure to prefix the type with \.
Loading history...
44
*/
45
public function load(string $name) : TemplateInterface
46
{
47
return new TwigTemplate($this->env->loadTemplate($name));
The expression return new Tarsana\Comma...v->loadTemplate($name)) returns the type Tarsana\Command\Template\Twig\TwigTemplate which is incompatible with the documented return type Tarsana\Command\Template...plate\Twig\TwigTemplate.