siakad-itm/app/Http/Requests/Settings/ProfileUpdateRequest.php
Yoga Pangestu e870a155fa
Some checks failed
tests / ci (pull_request) Has been cancelled
initial commit
2026-07-29 17:46:01 +07:00

23 lines
517 B
PHP

<?php
namespace App\Http\Requests\Settings;
use App\Concerns\ProfileValidationRules;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Foundation\Http\FormRequest;
class ProfileUpdateRequest extends FormRequest
{
use ProfileValidationRules;
/**
* Get the validation rules that apply to the request.
*
* @return array<string, ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return $this->profileRules($this->user()->id);
}
}