Merge pull request #4261 from mhayes14/master

Add missing IPv4/IPv6 validation messages
This commit is contained in:
Taylor Otwell 2017-05-11 08:42:02 -04:00 committed by GitHub
commit 0f0178a577
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@
'in_array' => 'The :attribute field does not exist in :other.', 'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.', 'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.', 'ip' => 'The :attribute must be a valid IP address.',
'ipv4' => 'The :attribute must be a valid IPv4 address.',
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'json' => 'The :attribute must be a valid JSON string.', 'json' => 'The :attribute must be a valid JSON string.',
'max' => [ 'max' => [
'numeric' => 'The :attribute may not be greater than :max.', 'numeric' => 'The :attribute may not be greater than :max.',