Add new enums for object document type, institution categorization

Close #24, close #25, close #26, close #27
This commit is contained in:
2024-05-10 16:22:50 +02:00
parent 493ef9f721
commit d68c114905
7 changed files with 880 additions and 3 deletions

View File

@ -54,7 +54,7 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
"actor" => self::actor,
"painter" => self::painter,
"creator" => self::creator,
default => throw new MDpageParameterNotFromListException("Unknown attendance status"),
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
};
}
@ -85,7 +85,7 @@ enum MDSeriesContributorRole implements MDValueEnumInterface, JsonSerializable {
13 => self::actor,
14 => self::painter,
15 => self::creator,
default => throw new MDpageParameterNotFromListException("Unknown attendance status"),
default => throw new MDpageParameterNotFromListException("Unknown series contributor role"),
};
}