From 30dc3b472c62835c36f6a6534444ce54de043d42 Mon Sep 17 00:00:00 2001 From: Nicklas Kevin Frank Date: Thu, 11 Nov 2021 14:33:49 +0100 Subject: [PATCH] Added declined and declined_if validation rules --- resources/lang/en/validation.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index 9fab4d928f4..51735fee2a1 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -36,6 +36,8 @@ 'date' => 'The :attribute is not a valid date.', 'date_equals' => 'The :attribute must be a date equal to :date.', 'date_format' => 'The :attribute does not match the format :format.', + 'declined' => 'The :attribute must be declined.', + 'declined_if' => 'The :attribute must be declined when :other is :value.', 'different' => 'The :attribute and :other must be different.', 'digits' => 'The :attribute must be :digits digits.', 'digits_between' => 'The :attribute must be between :min and :max digits.',