Test Setup Failed
Branch master (e76c77)
by Kai
40:09
created
Category
src/Parser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function parseRow(array $columns)
71 71
     {
72
-        return collect($columns)->zip($this->config['schema'])->flatMap(function ($pair, $index) {
72
+        return collect($columns)->zip($this->config['schema'])->flatMap(function($pair, $index) {
73 73
             list($value, $type) = $pair;
74 74
 
75 75
             $parsed = $this->getValue($type, $value);
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         $reader->setEnclosure($this->getConfigValue('enclosure', $this->defaultEnclosure));
92 92
         $reader->setEscape($this->getConfigValue('escape', $this->defaultEscape));
93 93
 
94
-        return collect($reader)->map(function ($row) {
94
+        return collect($reader)->map(function($row) {
95 95
             return (object) $this->parseRow($row);
96 96
         })->all();
97 97
     }
Please login to merge, or discard this patch.