Code Duplication    Length = 6-6 lines in 2 locations

src/PhpSpreadsheet/Reader/Xlsx.php 2 locations

@@ 761-766 (lines=6) @@
758
                                $docSheet->setCodeName((string) $xmlSheet->sheetPr['codeName'], false);
759
                            }
760
                            if (isset($xmlSheet->sheetPr, $xmlSheet->sheetPr->outlinePr)) {
761
                                if (isset($xmlSheet->sheetPr->outlinePr['summaryRight']) &&
762
                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryRight'])) {
763
                                    $docSheet->setShowSummaryRight(false);
764
                                } else {
765
                                    $docSheet->setShowSummaryRight(true);
766
                                }
767
768
                                if (isset($xmlSheet->sheetPr->outlinePr['summaryBelow']) &&
769
                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryBelow'])) {
@@ 768-773 (lines=6) @@
765
                                    $docSheet->setShowSummaryRight(true);
766
                                }
767
768
                                if (isset($xmlSheet->sheetPr->outlinePr['summaryBelow']) &&
769
                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryBelow'])) {
770
                                    $docSheet->setShowSummaryBelow(false);
771
                                } else {
772
                                    $docSheet->setShowSummaryBelow(true);
773
                                }
774
                            }
775
776
                            if (isset($xmlSheet->sheetPr, $xmlSheet->sheetPr->pageSetUpPr)) {