Display wrong input in MDTagRelationType
This commit is contained in:
1 file changed
+1
-1
@@ -40,7 +40,7 @@ public static function fromString(string $input):MDTagRelationType {
|
||||
'topic' => self::topic,
|
||||
'mentioned' => self::mentioned,
|
||||
'taxon' => self::taxon,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown tag relation type"),
|
||||
default => throw new MDpageParameterNotFromListException("Unknown tag relation type: " . $input),
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user