Code Duplication    Length = 9-9 lines in 2 locations

src/PhpSpreadsheet/Reader/Xls.php 2 locations

@@ 7355-7363 (lines=9) @@
7352
        }
7353
7354
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
7355
        if (!(0x8000 & self::getUInt2d($subData, 4))) {
7356
            // absolute row index
7357
            $fr = $frIndex + 1;
7358
            $fr = '$' . $fr;
7359
        } else {
7360
            // row offset
7361
            $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536;
7362
            $fr = $baseRow + $frIndex;
7363
        }
7364
7365
        // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index)
7366
        if (!(0x4000 & self::getUInt2d($subData, 6))) {
@@ 7385-7393 (lines=9) @@
7382
        }
7383
7384
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
7385
        if (!(0x8000 & self::getUInt2d($subData, 6))) {
7386
            // absolute row index
7387
            $lr = $lrIndex + 1;
7388
            $lr = '$' . $lr;
7389
        } else {
7390
            // row offset
7391
            $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536;
7392
            $lr = $baseRow + $lrIndex;
7393
        }
7394
7395
        return "$fc$fr:$lc$lr";
7396
    }