Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit 8950b15

Browse files
committed
Update HtmlElement.php
1 parent 282072e commit 8950b15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Html/Elements/HtmlElement.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
use Eightfold\Markup\Element;
88

9-
use Eightfold\Markup\Html;
9+
// use Eightfold\Markup\Html;
1010

11-
use Eightfold\Markup\Html\Elements\Root\Html as RootHtml;
11+
use Eightfold\Markup\Html\Elements\Root\Html;
1212

1313
use Eightfold\Markup\Html\Data\Elements;
1414
use Eightfold\Markup\Html\Data\Attributes\Ordered;
@@ -27,7 +27,7 @@ abstract class HtmlElement extends Element
2727
protected function compiledElement(): string
2828
{
2929
$elem = parent::compiledElement();
30-
if (get_class($this) === RootHtml::class) {
30+
if (get_class($this) === Html::class) {
3131
$this->prefix = "<!doctype html>";
3232
$this->attr("lang en");
3333

0 commit comments

Comments
 (0)