Code Duplication    Length = 5-5 lines in 3 locations

app/Vendor/PHPExcel/PHPExcel/Writer/HTML.php 3 locations

@@ 369-373 (lines=5) @@
366
367
		// Fetch sheets
368
		$sheets = array();
369
		if (is_null($this->_sheetIndex)) {
370
			$sheets = $this->_phpExcel->getAllSheets();
371
		} else {
372
			$sheets[] = $this->_phpExcel->getSheet($this->_sheetIndex);
373
		}
374
375
		// Construct HTML
376
		$html = '';
@@ 484-488 (lines=5) @@
481
482
		// Fetch sheets
483
		$sheets = array();
484
		if (is_null($this->_sheetIndex)) {
485
			$sheets = $this->_phpExcel->getAllSheets();
486
		} else {
487
			$sheets[] = $this->_phpExcel->getSheet($this->_sheetIndex);
488
		}
489
490
		// Construct HTML
491
		$html = '';
@@ 663-667 (lines=5) @@
660
661
		// Fetch sheets
662
		$sheets = array();
663
		if (is_null($this->_sheetIndex)) {
664
			$sheets = $this->_phpExcel->getAllSheets();
665
		} else {
666
			$sheets[] = $this->_phpExcel->getSheet($this->_sheetIndex);
667
		}
668
669
		// Build styles per sheet
670
		foreach ($sheets as $sheet) {