Completed
Push — master ( 3579b4...2422c3 )
by Kai
09:04
created
src/Parser.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * @param string $key
119 119
      * @param string $default
120 120
      *
121
-     * @return mixed
121
+     * @return string
122 122
      */
123 123
     protected function getConfigValue($key, $default)
124 124
     {
Please login to merge, or discard this patch.