From d93a21a7a5031d256dc5dd9a929d4a7f613dfece Mon Sep 17 00:00:00 2001 From: zhangchenglin <469946668@qq.com> Date: Sat, 11 Sep 2021 06:27:10 +0800 Subject: [PATCH] Correct the error text of Validators::gt() --- src/Locale/LocaleZhCN.php | 2 +- src/Validator/GlobalMessage.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Locale/LocaleZhCN.php b/src/Locale/LocaleZhCN.php index f3a9841..0c5664a 100644 --- a/src/Locale/LocaleZhCN.php +++ b/src/Locale/LocaleZhCN.php @@ -64,7 +64,7 @@ class LocaleZhCN 'max' => '{attr} maximum boundary is {value0}', 'lt' => '{attr} value must be less than {value0}', 'lte' => '{attr} value must be less than or equals to {value0}', - 'gt' => '{attr} value must be greater than or equals to {value0}', + 'gt' => '{attr} value must be greater than {value0}', 'gte' => '{attr} value must be greater than or equals to {value0}', // field compare diff --git a/src/Validator/GlobalMessage.php b/src/Validator/GlobalMessage.php index 55625e7..e42fb9e 100644 --- a/src/Validator/GlobalMessage.php +++ b/src/Validator/GlobalMessage.php @@ -61,7 +61,7 @@ final class GlobalMessage 'max' => '{attr} maximum boundary is {value0}', 'lt' => '{attr} value must be less than {value0}', 'lte' => '{attr} value must be less than or equals to {value0}', - 'gt' => '{attr} value must be greater than or equals to {value0}', + 'gt' => '{attr} value must be greater than {value0}', 'gte' => '{attr} value must be greater than or equals to {value0}', // field compare