Update validation.php (#5699)
modify the grammar for lte and gte validation to have a parallel structure
This commit is contained in:
@@ -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' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user