Code Duplication    Length = 3-5 lines in 2 locations

src/PhpSpreadsheet/Reader/Excel2007.php 2 locations

@@ 885-887 (lines=3) @@
882
                                    if ($row["outlineLevel"] > 0) {
883
                                        $docSheet->getRowDimension(intval($row["r"]))->setOutlineLevel(intval($row["outlineLevel"]));
884
                                    }
885
                                    if ($row["s"] && !$this->readDataOnly) {
886
                                        $docSheet->getRowDimension(intval($row["r"]))->setXfIndex(intval($row["s"]));
887
                                    }
888
889
                                    foreach ($row->c as $c) {
890
                                        $r                     = (string) $c["r"];
@@ 999-1003 (lines=5) @@
996
                                        }
997
998
                                        // Style information?
999
                                        if ($c["s"] && !$this->readDataOnly) {
1000
                                            // no style index means 0, it seems
1001
                                            $cell->setXfIndex(isset($styles[intval($c["s"])]) ?
1002
                                                intval($c["s"]) : 0);
1003
                                        }
1004
                                    }
1005
                                }
1006
                            }