Add new check type: Check of object's location

This commit is contained in:
jrenslin committed 2023-11-02 00:49:13 +01:00
1 parent 1108398437
commit be2f42677b
2 files changed
+3 -1

No files matched your search

+1 -1
Submodule l18n updated: 8a2501a62c...5c442b8115.
+2
View File
@@ -14,6 +14,7 @@ enum MDObjectCheckType implements MDValueEnumInterface, JsonSerializable {
case condition_check;
case completeness_check;
case data_correctness_check;
case location_accuracy_check;
/**
* Returns a value of this type based on a string.
@@ -28,6 +29,7 @@ public static function fromString(string $input):MDObjectCheckType {
'condition_check' => self::condition_check,
'completeness_check' => self::completeness_check,
'data_correctness_check' => self::data_correctness_check,
'location_accuracy_check' => self::location_accuracy_check,
default => throw new MDpageParameterNotFromListException("Unknown check type"),
};