Fix another invalid output value in MDMeasurementType
This commit is contained in:
1 file changed
+1
-2
@@ -99,7 +99,6 @@ public static function caseNames():array {
|
||||
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 @@ public function toInt():int {
|
||||
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"),
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user