Skip to content

Commit

Permalink
Revert unrelated change to EventStoreImportProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaidelich committed Apr 27, 2024
1 parent 6ce4396 commit 49a5a15
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Processors/EventStoreImportProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,15 @@ private static function extractContentStreamId(array $payload): ContentStreamId
}
return ContentStreamId::fromString($payload['contentStreamId']);
}

/**
* @phpstan-ignore-next-line currently this private method is unused ... but it does no harm keeping it
*/
private function dispatch(Severity $severity, string $message, mixed ...$args): void
{
$renderedMessage = sprintf($message, ...$args);
foreach ($this->callbacks as $callback) {
$callback($severity, $renderedMessage);
}
}
}

0 comments on commit 49a5a15

Please sign in to comment.