Add new enums for object document type, institution categorization
Close #24, close #25, close #26, close #27
This commit is contained in:
@ -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"),
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user