@@ -94,7 +94,7 @@ |
||
94 | 94 | public function getErrorMessage(string $field, $value, Validator $validator): string |
95 | 95 | { |
96 | 96 | if($this->include){ |
97 | - return $validator->translate( |
|
97 | + return $validator->translate( |
|
98 | 98 | '%s must be before or equal to the date [%s]!', |
99 | 99 | $validator->getLabel($field), |
100 | 100 | $this->date |
@@ -72,7 +72,7 @@ |
||
72 | 72 | */ |
73 | 73 | public function validate(string $field, $value, Validator $validator): bool |
74 | 74 | { |
75 | - if (empty($value)) { |
|
75 | + if (empty($value)) { |
|
76 | 76 | return true; |
77 | 77 | } |
78 | 78 | return in_array($value, $this->list); |