diff --git a/src/file/csv/AbstractReader.php b/src/file/csv/AbstractReader.php index b87a6f4..8381c7e 100644 --- a/src/file/csv/AbstractReader.php +++ b/src/file/csv/AbstractReader.php @@ -40,7 +40,7 @@ abstract class AbstractReader implements IReader { # $this->schema = $params["schema"] ?? static::SCHEMA; $this->headers = $params["headers"] ?? static::HEADERS; - $this->cookRow = $params["use_headers"] ?? static::COOk_ROW; + $this->cookRow = $params["cook_row"] ?? static::COOk_ROW; $this->input = $params["input"] ?? static::INPUT; $this->trim = boolval($params["trim"] ?? static::TRIM); $this->parseEmptyAsNull = boolval($params["empty_as_null"] ?? static::PARSE_EMPTY_AS_NULL);