original_string: public function updateHeaders(CsvFile $csv_file, array $columns, $table_name)
  	{
  		$this->csv_file = $csv_file ? $csv_file : $this->csv_file;
  
  		foreach($this->csv_file as $csv_line)
  		{
  			$this->updateHeader($csv_line, $columns, $table_name);
  		}
  	}
code: public function updateHeaders(CsvFile $csv_file, array $columns, $table_name)
  	{
  		$this->csv_file = $csv_file ? $csv_file : $this->csv_file;
  
  		foreach($this->csv_file as $csv_line)
  		{
  			$this->updateHeader($csv_line, $columns, $table_name);
  		}
  	}
code_tokens: public function updateHeaders ( CsvFile $ csv_file , array $ columns , $ table_name ) { $ this -> csv_file = $ csv_file ? $ csv_file : $ this -> csv_file ; foreach ( $ this -> csv_file as $ csv_line ) { $ this -> updateHeader ( $ csv_line , $ columns , $ table_name ) ; } }
docstring: Update headers of the csv_file
  
  @param CsvFile $csv_line
  @param Array $columns $key=column name, $value=column index
  @param Sring $table_name name of the table
  @throws UnalignedArrayException
docstring_tokens: Update headers of the csv_file