| @@ -69,7 +69,7 @@ discard block | ||
| 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 | ||
| 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 | } | 
| @@ -118,7 +118,7 @@ | ||
| 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 |      { |