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