We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5af8a31 + 3ba138c commit e2bea02Copy full SHA for e2bea02
src/JsonSchema/Constraints/NumberConstraint.php
@@ -46,7 +46,7 @@ public function check($element, $schema = null, $path = null, $i = null)
46
$this->addError($path, "Must have a maximum value of " . $schema->maximum, 'maximum', array('maximum' => $schema->maximum,));
47
}
48
} else {
49
- $this->addError($path, "Use of exclusiveMaximum requires presence of maximum", 'missingMinimum');
+ $this->addError($path, "Use of exclusiveMaximum requires presence of maximum", 'missingMaximum');
50
51
} else if (isset($schema->maximum) && $element > $schema->maximum) {
52
0 commit comments