Completed
Pull Request — 4.0 (#3)
by David
02:52
created
src/Mappers/ArrayMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         $data = [];
53 53
         foreach ($this->dataSource->getData() as $row) {
54
-            $data [] = array_map(function (PickerInterface $picker) use ($row) {
54
+            $data [] = array_map(function(PickerInterface $picker) use ($row) {
55 55
                 return $picker->pick(new Row($row));
56 56
             }, $this->matchers);
57 57
         }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function setParameters(array $params)
65 65
     {
66
-        if(empty($this->params)) {
66
+        if (empty($this->params)) {
67 67
             $this->params = $params;
68 68
         }
69 69
         $this->dataSource->setParameters($this->params);
Please login to merge, or discard this patch.