Code Duplication    Length = 6-6 lines in 2 locations

src/PhpSpreadsheet/Reader/Xlsx.php 2 locations

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