@@ -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 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | public function parseRow(array $columns) |
| 98 | 98 | { |
| 99 | - return collect($columns)->zip($this->config['schema'])->flatMap(function ($pair, $index) { |
|
| 99 | + return collect($columns)->zip($this->config['schema'])->flatMap(function($pair, $index) { |
|
| 100 | 100 | list($value, $type) = $pair; |
| 101 | 101 | |
| 102 | 102 | $parsed = $this->getValue($type, $value); |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | $rows->shift(); |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | - return $rows->map(function ($row) { |
|
| 128 | + return $rows->map(function($row) { |
|
| 129 | 129 | return (object) $this->parseRow($row); |
| 130 | 130 | })->all(); |
| 131 | 131 | } |