Code Duplication    Length = 3-5 lines in 2 locations

src/PhpSpreadsheet/Writer/HTML.php 2 locations

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