From 15e983411ba7b0d3e46c74a537e9441a8c47f58b Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Wed, 21 Dec 2022 19:29:50 +0100 Subject: [PATCH] Fix invalid return type in MDObjectDamageStatus --- src/enums/MDObjectDamageStatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enums/MDObjectDamageStatus.php b/src/enums/MDObjectDamageStatus.php index c556a7a..997e30a 100644 --- a/src/enums/MDObjectDamageStatus.php +++ b/src/enums/MDObjectDamageStatus.php @@ -26,7 +26,7 @@ enum MDObjectDamageStatus implements MDValueEnumInterface, JsonSerializable { * * @return MDObjectDamageType */ - public static function fromString(string $input):MDObjectDamageType { + public static function fromString(string $input):MDObjectDamageStatus { return match($input) { 'identified' => self::identified,