Skip to content

Commit 0bc5258

Browse files
samlevtaylorotwell
andauthored
[8.x] Added prohibits validation message (laravel#5681)
* Added `prohibits` validation * Update validation.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent a36f02c commit 0bc5258

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/lang/en/validation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
'prohibited' => 'The :attribute field is prohibited.',
110110
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
111111
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
112+
'prohibits' => 'The :attribute field prohibits :other from being present.',
112113
'same' => 'The :attribute and :other must match.',
113114
'size' => [
114115
'numeric' => 'The :attribute must be :size.',

0 commit comments

Comments
 (0)