Completed
Pull Request — master (#18)
by Ross
02:43
created
src/AggregateRootRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     public function persistEvents(AggregateRootId $aggregateRootId, Event ... $events)
64 64
     {
65 65
         $metadata = [Header::AGGREGATE_ROOT_ID => $aggregateRootId];
66
-        $messages = array_map(function (Event $event) use ($metadata) {
66
+        $messages = array_map(function(Event $event) use ($metadata) {
67 67
             return $this->decorator->decorate(new Message($event, $metadata));
68 68
         }, $events);
69 69
 
Please login to merge, or discard this patch.