Completed
Pull Request — 1.0 (#32)
by Valentin
03:55
created
src/Transfer/Adapter/Transaction/DataAggregate.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,11 +53,9 @@
 block discarded – undo
53 53
 
54 54
         if ($data instanceof \Iterator) {
55 55
             $this->iterator = $data;
56
-        }
57
-        elseif (is_array($data)) {
56
+        } elseif (is_array($data)) {
58 57
             $this->iterator = new \ArrayIterator($data);
59
-        }
60
-        else {
58
+        } else {
61 59
             $this->iterator = new \ArrayIterator(array($data));
62 60
         }
63 61
     }
Please login to merge, or discard this patch.