Completed
Push — master ( d9d7f1...cbb893 )
by Frank
04:08
created
src/AggregateRootRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     public function persistEvents(AggregateRootId $aggregateRootId, int $aggregateRootVersion, Event ... $events)
68 68
     {
69 69
         $metadata = [Header::AGGREGATE_ROOT_ID => $aggregateRootId];
70
-        $messages = array_map(function (Event $event) use ($metadata, &$aggregateRootVersion) {
70
+        $messages = array_map(function(Event $event) use ($metadata, &$aggregateRootVersion) {
71 71
             return $this->decorator->decorate(new Message(
72 72
                 $event,
73 73
                 $metadata + [Header::AGGREGATE_ROOT_VERSION => ++$aggregateRootVersion]
Please login to merge, or discard this patch.