<?php

namespace App\Services\Settlement\Matchers;

use App\Models\TicketItem;
use Illuminate\Support\Collection;
use App\Services\Settlement\PublishedDrawResultBoard;
use App\Services\Settlement\Contracts\SettlementPlayMatcher;

/**
 * 阶段 6 首轮未实现的玩法：不派奖（后续补位置类、单双等匹配器）。
 */
final class NoopSettlementMatcher implements SettlementPlayMatcher
{
    public function match(TicketItem $item, PublishedDrawResultBoard $board, Collection $combinations): array
    {
        return [
            'win_amount' => 0,
            'matched_prize_tier' => null,
            'match_detail' => ['play_code' => $item->play_code, 'skipped' => true],
        ];
    }
}
