Passed
Push — master ( d2bca0...659124 )
by Frank
02:12
created
src/ConstructingAggregateRootRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         // of recording.
78 78
         $aggregateRootVersion = $aggregateRootVersion - count($events);
79 79
         $metadata = [Header::AGGREGATE_ROOT_ID => $aggregateRootId];
80
-        $messages = array_map(function (object $event) use ($metadata, &$aggregateRootVersion) {
80
+        $messages = array_map(function(object $event) use ($metadata, &$aggregateRootVersion) {
81 81
             return $this->decorator->decorate(new Message(
82 82
                 $event,
83 83
                 $metadata + [Header::AGGREGATE_ROOT_VERSION => ++$aggregateRootVersion]
Please login to merge, or discard this patch.