Skip to content

Commit 955ec44

Browse files
authored
Merge pull request opis#111 from jsawo/patch-1
Fix "must must" error message
2 parents 5346c2e + 68ae56d commit 955ec44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Keywords/ConstKeyword.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public function validate(ValidationContext $context, Schema $schema): ?Validatio
4444
return null;
4545
}
4646

47-
return $this->error($schema, $context, 'const', 'The data must must match the const value', [
47+
return $this->error($schema, $context, 'const', 'The data must match the const value', [
4848
'const' => $this->const
4949
]);
5050
}
51-
}
51+
}

0 commit comments

Comments
 (0)