Completed
Push — master ( b23ba5...02314f )
by David
02:35
created
src/Dwo/Aggregator/Dumper/DeepDumper.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,10 +26,10 @@
 block discarded – undo
26 26
             $values = array_values($entry->getGroup()->getKeys());
27 27
             $keys = sprintf('[%s]', implode('][', $values));
28 28
 
29
-            if($entry instanceof \Iterator) {
29
+            if ($entry instanceof \Iterator) {
30 30
                 $entry = FlatDumper::toArray($entry);
31 31
             }
32
-            else if($entry instanceof Aggregate) {
32
+            else if ($entry instanceof Aggregate) {
33 33
                 $entry = $entry->getData();
34 34
             }
35 35
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
 
29 29
             if($entry instanceof \Iterator) {
30 30
                 $entry = FlatDumper::toArray($entry);
31
-            }
32
-            else if($entry instanceof Aggregate) {
31
+            } else if($entry instanceof Aggregate) {
33 32
                 $entry = $entry->getData();
34 33
             }
35 34
 
Please login to merge, or discard this patch.
src/Dwo/Aggregator/Merger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public static function merge(&$origin, $merge, array $saveKeys = [], $idKey = null)
25 25
     {
26
-        $checkMergeType = function ($a) {
26
+        $checkMergeType = function($a) {
27 27
             if ($a instanceof Aggregate) {
28 28
                 return 16;
29 29
             } elseif ($a instanceof PreAggregate) {
Please login to merge, or discard this patch.