Fix another invalid output value in MDMeasurementType
This commit is contained in:
parent
06b2d13c6f
commit
1dedb86d5b
@ -99,7 +99,6 @@ enum MDMeasurementType implements JsonSerializable {
|
||||
public function getName():string {
|
||||
|
||||
return match($this) {
|
||||
self::vg_bildkunst => "VG Bildkunst",
|
||||
# default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
default => throw new MDpageParameterNotFromListException("To be implemented"),
|
||||
};
|
||||
@ -123,7 +122,7 @@ enum MDMeasurementType implements JsonSerializable {
|
||||
self::wall => 7,
|
||||
self::number_of_pages => 8,
|
||||
self::die_axis => 9,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
# default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user