<?php

namespace App\Services\Forecasting;

/**
 * Result of a LeakDetector::validate() run.
 *
 * Each entry in $leaks is shape:
 *   { feature: string, target_monday: 'Y-m-d', source_date: 'Y-m-d' }
 */
final readonly class LeakReport
{
    /** @param array<int, array{feature: string, target_monday: string, source_date: string}> $leaks */
    public function __construct(public array $leaks) {}

    public function hasLeaks(): bool
    {
        return $this->leaks !== [];
    }
}
