From 138eb8b053ec9c335fa0f5610b5b295d355f9173 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Mon, 6 Jul 2026 09:38:20 +0700 Subject: [PATCH] feat: add attributes method to RejectVerificationRequest for localized error messages --- .../Admin/Manage/RejectVerificationRequest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/Http/Requests/Admin/Manage/RejectVerificationRequest.php b/app/Http/Requests/Admin/Manage/RejectVerificationRequest.php index 9807de2..bdb1717 100644 --- a/app/Http/Requests/Admin/Manage/RejectVerificationRequest.php +++ b/app/Http/Requests/Admin/Manage/RejectVerificationRequest.php @@ -17,4 +17,14 @@ public function rules(): array 'reason' => ['required', 'string', 'max:500'], ]; } + + /** + * @return array + */ + public function attributes(): array + { + return [ + 'reason' => 'alasan penolakan', + ]; + } }