Code Duplication    Length = 9-9 lines in 2 locations

src/PhpSpreadsheet/Reader/Xls.php 2 locations

@@ 6885-6893 (lines=9) @@
6882
        }
6883
6884
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
6885
        if (!(0x8000 & self::getInt2d($subData, 4))) {
6886
            // absolute row index
6887
            $fr = $frIndex + 1;
6888
            $fr = '$' . $fr;
6889
        } else {
6890
            // row offset
6891
            $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536;
6892
            $fr = $baseRow + $frIndex;
6893
        }
6894
6895
        // offset: 6; size: 2; last column with relative/absolute flags
6896
@@ 6914-6922 (lines=9) @@
6911
        }
6912
6913
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
6914
        if (!(0x8000 & self::getInt2d($subData, 6))) {
6915
            // absolute row index
6916
            $lr = $lrIndex + 1;
6917
            $lr = '$' . $lr;
6918
        } else {
6919
            // row offset
6920
            $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536;
6921
            $lr = $baseRow + $lrIndex;
6922
        }
6923
6924
        return "$fc$fr:$lc$lr";
6925
    }