diff --git a/packages/view/src/Parser/TempestViewLexer.php b/packages/view/src/Parser/TempestViewLexer.php index 4a8d27551..658cdb476 100644 --- a/packages/view/src/Parser/TempestViewLexer.php +++ b/packages/view/src/Parser/TempestViewLexer.php @@ -22,7 +22,7 @@ public function lex(): TokenCollection { $tokens = []; - while ($this->current) { + while ($this->current !== null) { if ($this->comesNext('lexXml(); } elseif ($this->comesNext('