Code Duplication    Length = 9-9 lines in 2 locations

src/PhpSpreadsheet/Reader/Excel5.php 2 locations

@@ 6946-6954 (lines=9) @@
6943
        }
6944
6945
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
6946
        if (!(0x8000 & self::getInt2d($subData, 4))) {
6947
            // absolute row index
6948
            $fr = $frIndex + 1;
6949
            $fr = '$' . $fr;
6950
        } else {
6951
            // row offset
6952
            $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536;
6953
            $fr = $baseRow + $frIndex;
6954
        }
6955
6956
        // offset: 6; size: 2; last column with relative/absolute flags
6957
@@ 6975-6983 (lines=9) @@
6972
        }
6973
6974
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
6975
        if (!(0x8000 & self::getInt2d($subData, 6))) {
6976
            // absolute row index
6977
            $lr = $lrIndex + 1;
6978
            $lr = '$' . $lr;
6979
        } else {
6980
            // row offset
6981
            $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536;
6982
            $lr = $baseRow + $lrIndex;
6983
        }
6984
6985
        return "$fc$fr:$lc$lr";
6986
    }