store/app/Http/Requests/Admin/Manage/RejectVerificationRequest.php
Yoga Pangestu 138eb8b053
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
feat: add attributes method to RejectVerificationRequest for localized error messages
2026-07-06 09:38:20 +07:00

31 lines
535 B
PHP

<?php
namespace App\Http\Requests\Admin\Manage;
use Illuminate\Foundation\Http\FormRequest;
class RejectVerificationRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'reason' => ['required', 'string', 'max:500'],
];
}
/**
* @return array<string, string>
*/
public function attributes(): array
{
return [
'reason' => 'alasan penolakan',
];
}
}