From 8224fcd88428a6aaadd00e54f13926bdcaffe4f8 Mon Sep 17 00:00:00 2001 From: holmesadam Date: Mon, 15 Jul 2024 13:28:19 +0100 Subject: [PATCH] Fix min comparison check in MinValueRule.php --- src/Forms/Rules/MinValueRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/Rules/MinValueRule.php b/src/Forms/Rules/MinValueRule.php index f5c7534..bfc7c45 100644 --- a/src/Forms/Rules/MinValueRule.php +++ b/src/Forms/Rules/MinValueRule.php @@ -26,7 +26,7 @@ public function validate(string $attribute, mixed $value, Closure $fail): void $locale ); - if ($minorValue <= $this->min) { + if ($minorValue < $this->min) { $fail( strtr( 'The {attribute} must be at least {value}.',