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