Parse "GND" to MDNodaRepository::gnd

This commit is contained in:
Joshua Ramon Enslin 2023-04-16 03:23:23 +02:00
parent fbc50d8198
commit 10aedafad1
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -60,6 +60,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
'cona' => self::cona,
'edition humboldt digital' => self::editionhumboldtdigital,
'gnd' => self::gnd,
'GND' => self::gnd,
'grobsystematik' => self::grobsystematik,
'iconclass' => self::iconclass,
'lcsh' => self::lcsh,
@ -83,7 +84,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
'viaf' => self::viaf,
'wikidata' => self::wikidata,
'Wikipedia' => self::wikipedia,
default => throw new MDpageParameterNotFromListException("Unknown noda repository: " . $input),
default => throw new MDpageParameterNotFromListException("Unknown noda repository: '" . $input . "'"),
};
}