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