Fix error messages

This commit is contained in:
Joshua Ramon Enslin 2024-07-29 17:50:36 +02:00
parent 99e0f9b655
commit 47763d1998
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -31,7 +31,7 @@ enum MDGender implements MDValueEnumInterface, JsonSerializable {
"female" => self::female,
"male" => self::male,
"other" => self::other,
default => throw new MDpageParameterNotFromListException("Unknown series place role"),
default => throw new MDpageParameterNotFromListException("Unknown gender"),
};
}
@ -50,7 +50,7 @@ enum MDGender implements MDValueEnumInterface, JsonSerializable {
1 => self::female,
2 => self::male,
3 => self::other,
default => throw new MDpageParameterNotFromListException("Unknown series place role"),
default => throw new MDpageParameterNotFromListException("Unknown gender"),
};
}