Code Duplication    Length = 6-6 lines in 2 locations

src/PhpSpreadsheet/Reader/Xlsx.php 2 locations

@@ 788-793 (lines=6) @@
785
                                $docSheet->setCodeName((string) $xmlSheet->sheetPr['codeName']);
786
                            }
787
                            if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->outlinePr)) {
788
                                if (isset($xmlSheet->sheetPr->outlinePr['summaryRight']) &&
789
                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryRight'])) {
790
                                    $docSheet->setShowSummaryRight(false);
791
                                } else {
792
                                    $docSheet->setShowSummaryRight(true);
793
                                }
794
795
                                if (isset($xmlSheet->sheetPr->outlinePr['summaryBelow']) &&
796
                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryBelow'])) {
@@ 795-800 (lines=6) @@
792
                                    $docSheet->setShowSummaryRight(true);
793
                                }
794
795
                                if (isset($xmlSheet->sheetPr->outlinePr['summaryBelow']) &&
796
                                    !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryBelow'])) {
797
                                    $docSheet->setShowSummaryBelow(false);
798
                                } else {
799
                                    $docSheet->setShowSummaryBelow(true);
800
                                }
801
                            }
802
803
                            if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->pageSetUpPr)) {