mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Code comment for future me: I was afraid the code would surprise users
This commit is contained in:
@@ -612,6 +612,11 @@ class Csv {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (empty($this->file_data)) {
|
if (empty($this->file_data)) {
|
||||||
|
/**
|
||||||
|
* @see self::keep_file_data
|
||||||
|
* Usually, _parse_string will clean this
|
||||||
|
* Instead of leaving stale data for the next parseFile call behind.
|
||||||
|
*/
|
||||||
$this->load_data($file);
|
$this->load_data($file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user