From 10aedafad10e0e42eb92473e8f0c68dfbcae85ae Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sun, 16 Apr 2023 03:23:23 +0200 Subject: [PATCH] Parse "GND" to MDNodaRepository::gnd --- src/enums/MDNodaRepository.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/enums/MDNodaRepository.php b/src/enums/MDNodaRepository.php index ffa81cd..409fb7b 100644 --- a/src/enums/MDNodaRepository.php +++ b/src/enums/MDNodaRepository.php @@ -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 . "'"), }; }