Skip to content

Commit

Permalink
Merge pull request #421 from cpj555/patch-1
Browse files Browse the repository at this point in the history
fix  writer filter
  • Loading branch information
nyamsprod authored Apr 16, 2021
2 parents 66a5018 + 783f7d1 commit d5de5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractCsv.php
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ public function addStreamFilter(string $filtername, $params = null): self
throw UnavailableFeature::dueToUnsupportedStreamFilterApi(get_class($this->document));
}

$this->document->appendFilter($filtername, self::STREAM_FILTER_MODE, $params);
$this->document->appendFilter($filtername, static::STREAM_FILTER_MODE, $params);
$this->stream_filters[$filtername] = true;
$this->resetProperties();
$this->input_bom = null;
Expand Down

0 comments on commit d5de5a3

Please sign in to comment.