Skip to content

Commit

Permalink
fix stan
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Sep 14, 2023
1 parent 5f5f149 commit ae4f761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HtmlTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit ae4f761

Please sign in to comment.