Code Duplication    Length = 3-5 lines in 2 locations

src/PhpSpreadsheet/Reader/Excel2007.php 2 locations

@@ 859-861 (lines=3) @@
856
                                    if ($row['outlineLevel'] > 0) {
857
                                        $docSheet->getRowDimension(intval($row['r']))->setOutlineLevel(intval($row['outlineLevel']));
858
                                    }
859
                                    if ($row['s'] && !$this->readDataOnly) {
860
                                        $docSheet->getRowDimension(intval($row['r']))->setXfIndex(intval($row['s']));
861
                                    }
862
863
                                    foreach ($row->c as $c) {
864
                                        $r = (string) $c['r'];
@@ 957-961 (lines=5) @@
954
                                        }
955
956
                                        // Style information?
957
                                        if ($c['s'] && !$this->readDataOnly) {
958
                                            // no style index means 0, it seems
959
                                            $cell->setXfIndex(isset($styles[intval($c['s'])]) ?
960
                                                intval($c['s']) : 0);
961
                                        }
962
                                    }
963
                                }
964
                            }