Remove superfluous throw new exception

This commit is contained in:
Joshua Ramon Enslin 2023-10-18 02:06:06 +02:00
parent d9f3f875e0
commit c57d180aa1
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -351,7 +351,6 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
return false;
}
if (is_numeric(strtr($id, ['-' => '', 'X' => ''])) === false) {
throw new Exception($id);
return false;
}