Code Duplication    Length = 6-6 lines in 2 locations

src/PhpSpreadsheet/Reader/Excel2007.php 2 locations

@@ 767-772 (lines=6) @@
764
                                $docSheet->setCodeName((string) $xmlSheet->sheetPr['codeName']);
765
                            }
766
                            if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->outlinePr)) {
767
                                if (isset($xmlSheet->sheetPr->outlinePr['summaryRight']) &&
768
                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryRight'])) {
769
                                    $docSheet->setShowSummaryRight(false);
770
                                } else {
771
                                    $docSheet->setShowSummaryRight(true);
772
                                }
773
774
                                if (isset($xmlSheet->sheetPr->outlinePr['summaryBelow']) &&
775
                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryBelow'])) {
@@ 774-779 (lines=6) @@
771
                                    $docSheet->setShowSummaryRight(true);
772
                                }
773
774
                                if (isset($xmlSheet->sheetPr->outlinePr['summaryBelow']) &&
775
                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryBelow'])) {
776
                                    $docSheet->setShowSummaryBelow(false);
777
                                } else {
778
                                    $docSheet->setShowSummaryBelow(true);
779
                                }
780
                            }
781
782
                            if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->pageSetUpPr)) {