Code Duplication    Length = 9-9 lines in 2 locations

src/PhpSpreadsheet/Reader/Excel5.php 2 locations

@@ 7019-7027 (lines=9) @@
7016
        }
7017
7018
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
7019
        if (!(0x8000 & self::getInt2d($subData, 4))) {
7020
            // absolute row index
7021
            $fr = $frIndex + 1;
7022
            $fr = '$' . $fr;
7023
        } else {
7024
            // row offset
7025
            $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536;
7026
            $fr = $baseRow + $frIndex;
7027
        }
7028
7029
        // offset: 6; size: 2; last column with relative/absolute flags
7030
@@ 7048-7056 (lines=9) @@
7045
        }
7046
7047
        // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index)
7048
        if (!(0x8000 & self::getInt2d($subData, 6))) {
7049
            // absolute row index
7050
            $lr = $lrIndex + 1;
7051
            $lr = '$' . $lr;
7052
        } else {
7053
            // row offset
7054
            $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536;
7055
            $lr = $baseRow + $lrIndex;
7056
        }
7057
7058
        return "$fc$fr:$lc$lr";
7059
    }