diff --git a/lib/PhpParser/ParserAbstract.php b/lib/PhpParser/ParserAbstract.php index 3d1e4eed20..45902037ba 100644 --- a/lib/PhpParser/ParserAbstract.php +++ b/lib/PhpParser/ParserAbstract.php @@ -411,8 +411,6 @@ protected function doParse(): ?array { $rule = $state - $this->numNonLeafStates; } } - - throw new \RuntimeException('Reached end of parser loop'); } protected function emitError(Error $error): void {