diff --git a/src/CsvFileHandler.php b/src/CsvFileHandler.php index 9d7710e..4f8cded 100644 --- a/src/CsvFileHandler.php +++ b/src/CsvFileHandler.php @@ -65,7 +65,7 @@ public function findAndReplaceInCsv( try { $count = 0; - foreach ($this->getRows($filename, $headers) as $row) { + foreach ($this->getRows($filename) as $row) { $count += (!$column) ? $this->replaceKeywordInRow($row, $keyword, $replace) : $this->replaceKeywordInColumn($row, $column, $keyword, $replace);