Code Duplication    Length = 6-6 lines in 2 locations

src/PhpSpreadsheet/Reader/Xlsx.php 2 locations

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