Skip to content

Commit c112d14

Browse files
authored
Added declined and declined_if validation rules (laravel#5723)
1 parent bad350d commit c112d14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/lang/en/validation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
'date' => 'The :attribute is not a valid date.',
3737
'date_equals' => 'The :attribute must be a date equal to :date.',
3838
'date_format' => 'The :attribute does not match the format :format.',
39+
'declined' => 'The :attribute must be declined.',
40+
'declined_if' => 'The :attribute must be declined when :other is :value.',
3941
'different' => 'The :attribute and :other must be different.',
4042
'digits' => 'The :attribute must be :digits digits.',
4143
'digits_between' => 'The :attribute must be between :min and :max digits.',

0 commit comments

Comments
 (0)