Code Duplication    Length = 4-4 lines in 2 locations

src/PhpSpreadsheet/Writer/HTML.php 2 locations

@@ 896-899 (lines=4) @@
893
                    $this->columnWidths[$sheetIndex][$column] = $width;
894
                    $css['table.sheet' . $sheetIndex . ' col.col' . $column]['width'] = $width . 'pt';
895
896
                    if ($columnDimension->getVisible() === false) {
897
                        $css['table.sheet' . $sheetIndex . ' col.col' . $column]['visibility'] = 'collapse';
898
                        $css['table.sheet' . $sheetIndex . ' col.col' . $column]['*display'] = 'none'; // target IE6+7
899
                    }
900
                }
901
            }
902
@@ 933-936 (lines=4) @@
930
                    $pt_height = $rowDimension->getRowHeight();
931
                }
932
                $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['height'] = $pt_height . 'pt';
933
                if ($rowDimension->getVisible() === false) {
934
                    $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['display'] = 'none';
935
                    $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['visibility'] = 'hidden';
936
                }
937
            }
938
        }
939