change and fix code

This commit is contained in:
2025-09-07 16:33:52 +03:30
parent cf11923c6e
commit 7844c247e3
8 changed files with 56 additions and 13 deletions

View File

@@ -12,18 +12,18 @@ class GetRejectRequest extends FormRequest
*/
public function authorize(): bool
{
return false;
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, ValidationRule|array|string>
* @return array<string, ValidationRule|array>
*/
public function rules(): array
{
return [
'panjare_vahed_id' => 'required|string',
'panjare_vahed_id' => 'required',
];
}
}