Code Duplication    Length = 3-3 lines in 2 locations

src/PhpSpreadsheet/Reader/Html.php 2 locations

@@ 347-349 (lines=3) @@
344
                            switch ($attributeName) {
345
                                case 'href':
346
                                    $sheet->getCell($column . $row)->getHyperlink()->setUrl($attributeValue);
347
                                    if (isset($this->formats[$child->nodeName])) {
348
                                        $sheet->getStyle($column . $row)->applyFromArray($this->formats[$child->nodeName]);
349
                                    }
350
351
                                    break;
352
                            }
@@ 379-381 (lines=3) @@
376
                            $this->processDomElement($child, $sheet, $row, $column, $cellContent);
377
                            $this->flushCell($sheet, $column, $row, $cellContent);
378
379
                            if (isset($this->formats[$child->nodeName])) {
380
                                $sheet->getStyle($column . $row)->applyFromArray($this->formats[$child->nodeName]);
381
                            }
382
383
                            ++$row;
384
                            $column = 'A';