feat: add attributes method to RejectVerificationRequest for localized error messages
This commit is contained in:
parent
5a77623392
commit
138eb8b053
@ -17,4 +17,14 @@ public function rules(): array
|
||||
'reason' => ['required', 'string', 'max:500'],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public function attributes(): array
|
||||
{
|
||||
return [
|
||||
'reason' => 'alasan penolakan',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user