olalav - 2022-12-07
diff --git a/HtmlNode.php b/HtmlNode.php
index 9649d37..aef8b17 100644
--- a/HtmlNode.php
+++ b/HtmlNode.php
@@ -549,3 +549,12 @@ class HtmlNode
+       function first($selector, $idx = 0, $lowercase = false)
+       {
+               return $this->expect($selector, $idx, $lowercase);
+       }

Missed semicolon and preformatting.