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