Code Duplication    Length = 9-9 lines in 2 locations

src/PhpSpreadsheet/Reader/Xls.php 2 locations

@@ 6900-6908 (lines=9) @@
6897
        }
6898
6899
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
6900
        if (!(0x8000 & self::getInt2d($subData, 4))) {
6901
            // absolute row index
6902
            $fr = $frIndex + 1;
6903
            $fr = '$' . $fr;
6904
        } else {
6905
            // row offset
6906
            $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536;
6907
            $fr = $baseRow + $frIndex;
6908
        }
6909
6910
        // offset: 6; size: 2; last column with relative/absolute flags
6911
@@ 6929-6937 (lines=9) @@
6926
        }
6927
6928
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
6929
        if (!(0x8000 & self::getInt2d($subData, 6))) {
6930
            // absolute row index
6931
            $lr = $lrIndex + 1;
6932
            $lr = '$' . $lr;
6933
        } else {
6934
            // row offset
6935
            $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536;
6936
            $lr = $baseRow + $lrIndex;
6937
        }
6938
6939
        return "$fc$fr:$lc$lr";
6940
    }