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