<?php
namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest;
class QuoteRequest extends FormRequest {public function authorize():bool{return $this->user()?->can('transfer.create')??false;}public function rules():array{return ['corridor_id'=>['required','integer','exists:corridors,id'],'send_amount_minor'=>['required','integer','min:1']];}}
