forked from fa/breadcrumb-the-shire
24 lines
496 B
PHP
24 lines
496 B
PHP
|
|
<?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
|
||
|
|
{
|
||
|
|
}
|
||
|
|
}
|