<?php

namespace MintyPHP\Service\Audit;

/**
 * No-op audit recorder used when the audit module is disabled.
 */
final class NullAuditRecorder implements AuditRecorderInterface
{
    public function record(
        string $eventType,
        string $outcome = 'success',
        array $context = []
    ): ?int {
        return null;
    }
}
