<?php
 namespace App\Http\Requests\Admin; use Illuminate\Foundation\Http\FormRequest; class TwoFactorConfirmRequest extends FormRequest { public function authorize(): bool { return true; } public function rules(): array { return [ 'code' => ['required', 'string', 'size:6'], ]; } } 