Code Duplication    Length = 4-4 lines in 2 locations

src/PhpSpreadsheet/Writer/HTML.php 2 locations

@@ 878-881 (lines=4) @@
875
                    $this->columnWidths[$sheetIndex][$column] = $width;
876
                    $css['table.sheet' . $sheetIndex . ' col.col' . $column]['width'] = $width . 'pt';
877
878
                    if ($columnDimension->getVisible() === false) {
879
                        $css['table.sheet' . $sheetIndex . ' col.col' . $column]['visibility'] = 'collapse';
880
                        $css['table.sheet' . $sheetIndex . ' col.col' . $column]['*display'] = 'none'; // target IE6+7
881
                    }
882
                }
883
            }
884
@@ 915-918 (lines=4) @@
912
                    $pt_height = $rowDimension->getRowHeight();
913
                }
914
                $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['height'] = $pt_height . 'pt';
915
                if ($rowDimension->getVisible() === false) {
916
                    $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['display'] = 'none';
917
                    $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['visibility'] = 'hidden';
918
                }
919
            }
920
        }
921