<?php
 namespace App\Http\Requests\Admin; use Illuminate\Foundation\Http\FormRequest; class RegistrarEditRequest extends FormRequest { public function authorize(): bool { return $this->user()->can('updateAny', \App\Models\Registrar::class); } public function rules(): array { return [ ]; } } 