Remove superfluous throw new exception

This commit is contained in:
jrenslin committed 2023-10-18 02:06:06 +02:00
1 parent d9f3f875e0
commit c57d180aa1
1 file changed
-1
-1
View File
@@ -351,7 +351,6 @@ private static function validateGndId(string $id, array $prefixes):string|false
return false;
}
if (is_numeric(strtr($id, ['-' => '', 'X' => ''])) === false) {
throw new Exception($id);
return false;
}