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