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