Code Duplication    Length = 4-4 lines in 2 locations

src/PhpSpreadsheet/Writer/Html.php 2 locations

@@ 919-922 (lines=4) @@
916
                    $this->columnWidths[$sheetIndex][$column] = $width;
917
                    $css['table.sheet' . $sheetIndex . ' col.col' . $column]['width'] = $width . 'pt';
918
919
                    if ($columnDimension->getVisible() === false) {
920
                        $css['table.sheet' . $sheetIndex . ' col.col' . $column]['visibility'] = 'collapse';
921
                        $css['table.sheet' . $sheetIndex . ' col.col' . $column]['*display'] = 'none'; // target IE6+7
922
                    }
923
                }
924
            }
925
@@ 956-959 (lines=4) @@
953
                    $pt_height = $rowDimension->getRowHeight();
954
                }
955
                $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['height'] = $pt_height . 'pt';
956
                if ($rowDimension->getVisible() === false) {
957
                    $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['display'] = 'none';
958
                    $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['visibility'] = 'hidden';
959
                }
960
            }
961
        }
962