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