Code Duplication    Length = 3-5 lines in 2 locations

src/PhpSpreadsheet/Reader/Xlsx.php 2 locations

@@ 848-850 (lines=3) @@
845
                                    if ($row['outlineLevel'] > 0) {
846
                                        $docSheet->getRowDimension(intval($row['r']))->setOutlineLevel(intval($row['outlineLevel']));
847
                                    }
848
                                    if ($row['s'] && !$this->readDataOnly) {
849
                                        $docSheet->getRowDimension(intval($row['r']))->setXfIndex(intval($row['s']));
850
                                    }
851
852
                                    foreach ($row->c as $c) {
853
                                        $r = (string) $c['r'];
@@ 946-950 (lines=5) @@
943
                                        }
944
945
                                        // Style information?
946
                                        if ($c['s'] && !$this->readDataOnly) {
947
                                            // no style index means 0, it seems
948
                                            $cell->setXfIndex(isset($styles[intval($c['s'])]) ?
949
                                                intval($c['s']) : 0);
950
                                        }
951
                                    }
952
                                }
953
                            }