Code Duplication    Length = 9-9 lines in 2 locations

src/PhpSpreadsheet/Reader/Excel5.php 2 locations

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