forked from museum-digital/MDAllowedValueSets
Remove superfluous throw new exception
This commit is contained in:
1 file changed
-1
@@ -351,7 +351,6 @@ private static function validateGndId(string $id, array $prefixes):string|false
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user