Code Duplication    Length = 9-9 lines in 2 locations

src/PhpSpreadsheet/Reader/Xls.php 2 locations

@@ 7347-7355 (lines=9) @@
7344
        }
7345
7346
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
7347
        if (!(0x8000 & self::getUInt2d($subData, 4))) {
7348
            // absolute row index
7349
            $fr = $frIndex + 1;
7350
            $fr = '$' . $fr;
7351
        } else {
7352
            // row offset
7353
            $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536;
7354
            $fr = $baseRow + $frIndex;
7355
        }
7356
7357
        // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index)
7358
        if (!(0x4000 & self::getUInt2d($subData, 6))) {
@@ 7377-7385 (lines=9) @@
7374
        }
7375
7376
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
7377
        if (!(0x8000 & self::getUInt2d($subData, 6))) {
7378
            // absolute row index
7379
            $lr = $lrIndex + 1;
7380
            $lr = '$' . $lr;
7381
        } else {
7382
            // row offset
7383
            $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536;
7384
            $lr = $baseRow + $lrIndex;
7385
        }
7386
7387
        return "$fc$fr:$lc$lr";
7388
    }