Skip to content

Commit

Permalink
Merge pull request #111 from jsawo/patch-1
Browse files Browse the repository at this point in the history
Fix "must must" error message
  • Loading branch information
sorinsarca authored Oct 21, 2024
2 parents 5346c2e + 68ae56d commit 955ec44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Keywords/ConstKeyword.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
]);
}
}
}

0 comments on commit 955ec44

Please sign in to comment.