Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
morrislaptop committed May 19, 2020
1 parent 4b8b681 commit 69b9c44
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/EventStoreStoredEventRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ public function persistMany(array $events, string $uuid = null, int $aggregateVe

$dataEvents = collect($events)->map(function ($event) {
$json = app(EventSerializer::class)->serialize(clone $event);
dump($json);
$metadata = $event instanceof HasMetaData ? json_encode($event->collectMetaData()) : '{}';

return new EventData(EventId::generate(), get_class($event), true, $json, $metadata);
Expand Down

0 comments on commit 69b9c44

Please sign in to comment.