Code Duplication    Length = 12-12 lines in 2 locations

src/DataGrid.php 2 locations

@@ 1992-2003 (lines=12) @@
1989
	 * @param bool $include_bom
1990
	 * @return Export\Export
1991
	 */
1992
	public function addExportCsv(
1993
		$text,
1994
		$csv_file_name,
1995
		$output_encoding = null,
1996
		$delimiter = null,
1997
		$include_bom = false
1998
	) {
1999
		return $this->addToExports(new Export\ExportCsv(
2000
			$this,
2001
			$text,
2002
			$csv_file_name,
2003
			false,
2004
			$output_encoding,
2005
			$delimiter,
2006
			$include_bom
@@ 2020-2031 (lines=12) @@
2017
	 * @param bool $include_bom
2018
	 * @return Export\Export
2019
	 */
2020
	public function addExportCsvFiltered(
2021
		$text,
2022
		$csv_file_name,
2023
		$output_encoding = null,
2024
		$delimiter = null,
2025
		$include_bom = false
2026
	) {
2027
		return $this->addToExports(new Export\ExportCsv(
2028
			$this,
2029
			$text,
2030
			$csv_file_name,
2031
			true,
2032
			$output_encoding,
2033
			$delimiter,
2034
			$include_bom