Update git submodules
This commit is contained in:
2 files changed
+5
-1
No files matched your search
+1
-1
Submodule l18n updated: 8feb090adf...f47127f618.
@@ -27,6 +27,7 @@ enum MDMarkingType implements MDValueEnumInterface, JsonSerializable {
|
||||
case painted;
|
||||
case drawn;
|
||||
case embroidered;
|
||||
case glaze;
|
||||
|
||||
/**
|
||||
* Returns a value of this type based on a string.
|
||||
@@ -59,6 +60,7 @@ public static function fromString(string $input):MDMarkingType {
|
||||
'painted' => self::painted,
|
||||
'drawn' => self::drawn,
|
||||
'embroidered' => self::embroidered,
|
||||
'glaze' => self::glaze,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown marking type"),
|
||||
};
|
||||
|
||||
@@ -95,6 +97,7 @@ public static function fromInt(int $input):MDMarkingType {
|
||||
19 => self::painted,
|
||||
20 => self::drawn,
|
||||
21 => self::embroidered,
|
||||
22 => self::glaze,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown marking type"),
|
||||
};
|
||||
|
||||
@@ -147,6 +150,7 @@ public function toInt():int {
|
||||
self::painted => 19,
|
||||
self::drawn => 20,
|
||||
self::embroidered => 21,
|
||||
self::glaze => 22,
|
||||
# default => throw new MDpageParameterNotFromListException("Unknown measurement type"),
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user