Remove superfluous throw new exception
This commit is contained in:
parent
d9f3f875e0
commit
c57d180aa1
|
@ -351,7 +351,6 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (is_numeric(strtr($id, ['-' => '', 'X' => ''])) === false) {
|
if (is_numeric(strtr($id, ['-' => '', 'X' => ''])) === false) {
|
||||||
throw new Exception($id);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user