Code Duplication    Length = 3-5 lines in 2 locations

src/PhpSpreadsheet/Writer/HTML.php 2 locations

@@ 1196-1198 (lines=3) @@
1193
                } else {
1194
                    $cssClass = [];
1195
                    if ($cellType == 'th') {
1196
                        if (isset($this->cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum])) {
1197
                            $this->cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum];
1198
                        }
1199
                    } else {
1200
                        if (isset($this->cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum])) {
1201
                            $this->cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum];
@@ 1199-1203 (lines=5) @@
1196
                        if (isset($this->cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum])) {
1197
                            $this->cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum];
1198
                        }
1199
                    } else {
1200
                        if (isset($this->cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum])) {
1201
                            $this->cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum];
1202
                        }
1203
                    }
1204
                }
1205
                $colSpan = 1;
1206
                $rowSpan = 1;