diff --git a/src/Schema.php b/src/Schema.php index 9b982e5..f74c26e 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -361,7 +361,7 @@ private function processNumeric($data, $path) } else { if ($data > $this->maximum) { $this->fail(new NumericException( - 'Value less than ' . $this->minimum . ' expected, ' . $data . ' received', + 'Value less than ' . $this->maximum . ' expected, ' . $data . ' received', NumericException::MAXIMUM), $path); } }