From ae4f7612f8bb058e5a426636cb9c688b2e3cb5e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Thu, 14 Sep 2023 16:41:34 +0200 Subject: [PATCH] fix stan --- src/HtmlTemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HtmlTemplate.php b/src/HtmlTemplate.php index 75f84da40a..06ccde55da 100644 --- a/src/HtmlTemplate.php +++ b/src/HtmlTemplate.php @@ -561,7 +561,7 @@ protected function renderTagTreeToHtml(TagTree $tagTree): string $res[] = $v->getHtml(); } elseif ($v instanceof TagTree) { $res[] = $this->renderTagTreeToHtml($v); - } elseif ($v instanceof self) { // @phpstan-ignore-line + } elseif ($v instanceof self) { $res[] = $v->renderToHtml(); } else { throw (new Exception('Unexpected value class'))