Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 3.2.x |
I am trying to understand what's the use of returning inconsistent data depending if the csv has multiple rows or not at this line.
Furthermore:
- This is really not documented
- When I used the CsvEncoder I was passing the decoded result into a Collection object which was expecting an associative array. When the user uploaded a single line everything broke.
- I will just have to put a really bad code part that will need to check if it's a numeric key or not. Can't really think of any other way.
- Checked the other encoders and I don't think they do that.