Code Duplication    Length = 3-5 lines in 2 locations

src/PhpSpreadsheet/Writer/HTML.php 2 locations

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