<?php

namespace MintyPHP\Service\Audit;

/**
 * No-op import audit used when the audit module is disabled.
 */
final class NullImportAudit implements ImportAuditInterface
{
    public function startRun(
        string $profileKey,
        array $mappedTargets,
        ?string $sourceFilename,
        int $userId,
        ?int $currentTenantId
    ): ?int {
        return null;
    }

    public function finishRun(?int $runId, array $result, ?string $forcedStatus = null): void
    {
    }
}
