Update validation.php (#5699)

modify the grammar for lte and gte validation to have a parallel structure
This commit is contained in:
Alex Elkins
2021-09-29 16:29:27 -04:00
committed by GitHub
parent 4578193d52
commit 78e1d56c42

View File

@@ -53,9 +53,9 @@ return [
'array' => 'The :attribute must have more than :value items.', 'array' => 'The :attribute must have more than :value items.',
], ],
'gte' => [ 'gte' => [
'numeric' => 'The :attribute must be greater than or equal :value.', 'numeric' => 'The :attribute must be greater than or equal to :value.',
'file' => 'The :attribute must be greater than or equal :value kilobytes.', 'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
'string' => 'The :attribute must be greater than or equal :value characters.', 'string' => 'The :attribute must be greater than or equal to :value characters.',
'array' => 'The :attribute must have :value items or more.', 'array' => 'The :attribute must have :value items or more.',
], ],
'image' => 'The :attribute must be an image.', 'image' => 'The :attribute must be an image.',
@@ -73,9 +73,9 @@ return [
'array' => 'The :attribute must have less than :value items.', 'array' => 'The :attribute must have less than :value items.',
], ],
'lte' => [ 'lte' => [
'numeric' => 'The :attribute must be less than or equal :value.', 'numeric' => 'The :attribute must be less than or equal to :value.',
'file' => 'The :attribute must be less than or equal :value kilobytes.', 'file' => 'The :attribute must be less than or equal to :value kilobytes.',
'string' => 'The :attribute must be less than or equal :value characters.', 'string' => 'The :attribute must be less than or equal to :value characters.',
'array' => 'The :attribute must not have more than :value items.', 'array' => 'The :attribute must not have more than :value items.',
], ],
'max' => [ 'max' => [