From e98fe41dec7e948c24f5e23931c382b34cb78790 Mon Sep 17 00:00:00 2001 From: Jorg Sowa Date: Mon, 18 Nov 2024 22:47:37 +0100 Subject: [PATCH] Removed unrecheable statement --- lib/PhpParser/ParserAbstract.php | 2 -- 1 file changed, 2 deletions(-) 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 {