Fix error messages
This commit is contained in:
parent
99e0f9b655
commit
47763d1998
|
@ -31,7 +31,7 @@ enum MDGender implements MDValueEnumInterface, JsonSerializable {
|
||||||
"female" => self::female,
|
"female" => self::female,
|
||||||
"male" => self::male,
|
"male" => self::male,
|
||||||
"other" => self::other,
|
"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,
|
1 => self::female,
|
||||||
2 => self::male,
|
2 => self::male,
|
||||||
3 => self::other,
|
3 => self::other,
|
||||||
default => throw new MDpageParameterNotFromListException("Unknown series place role"),
|
default => throw new MDpageParameterNotFromListException("Unknown gender"),
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user