Code Duplication    Length = 5-5 lines in 2 locations

src/PhpSpreadsheet/Reader/Xlsx.php 2 locations

@@ 1916-1920 (lines=5) @@
1913
            }
1914
            $docStyle->getFont()->getColor()->setARGB(self::readColor($style->font->color));
1915
1916
            if (isset($style->font->u) && !isset($style->font->u['val'])) {
1917
                $docStyle->getFont()->setUnderline(Style\Font::UNDERLINE_SINGLE);
1918
            } elseif (isset($style->font->u, $style->font->u['val'])) {
1919
                $docStyle->getFont()->setUnderline((string) $style->font->u['val']);
1920
            }
1921
1922
            if (isset($style->font->vertAlign, $style->font->vertAlign['val'])) {
1923
                $vertAlign = strtolower((string) $style->font->vertAlign['val']);
@@ 2082-2086 (lines=5) @@
2079
                                $objText->getFont()->setSubscript(true);
2080
                            }
2081
                        }
2082
                        if (isset($run->rPr->u) && !isset($run->rPr->u['val'])) {
2083
                            $objText->getFont()->setUnderline(Style\Font::UNDERLINE_SINGLE);
2084
                        } elseif (isset($run->rPr->u, $run->rPr->u['val'])) {
2085
                            $objText->getFont()->setUnderline((string) $run->rPr->u['val']);
2086
                        }
2087
                        if ((isset($run->rPr->strike['val']) && self::boolean((string) $run->rPr->strike['val'])) ||
2088
                            (isset($run->rPr->strike) && !isset($run->rPr->strike['val']))) {
2089
                            $objText->getFont()->setStrikethrough(true);