Skip to content

Commit aa41535

Browse files
committed
updated column values result
1 parent 337790f commit aa41535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Component/Csv/Reader/CsvReader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function getColumnValues(string $columnName): array
5353
{
5454
$items = [];
5555
foreach ($this->getIterator() as $key => $row) {
56-
$items[$key][$columnName] = $row[$columnName];
56+
$items[$key] = $row[$columnName];
5757
}
5858

5959
return $items;

0 commit comments

Comments
 (0)