diff --git a/src/Keywords/ConstKeyword.php b/src/Keywords/ConstKeyword.php index 1bdb68d..3dde51e 100644 --- a/src/Keywords/ConstKeyword.php +++ b/src/Keywords/ConstKeyword.php @@ -44,8 +44,8 @@ public function validate(ValidationContext $context, Schema $schema): ?Validatio return null; } - return $this->error($schema, $context, 'const', 'The data must must match the const value', [ + return $this->error($schema, $context, 'const', 'The data must match the const value', [ 'const' => $this->const ]); } -} \ No newline at end of file +}