Code Duplication    Length = 9-9 lines in 2 locations

src/PhpSpreadsheet/Reader/Xls.php 2 locations

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