Corrected use of undefined variable in docs
Corrected use of undefined variable in docs

The `$record` variable doesn't exist but it is referenced in the example so readers could potentially get confused. I also removed an extra "s" from a nearby statement;
thephpleague/csv