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