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