Code Duplication    Length = 5-5 lines in 2 locations

src/PhpSpreadsheet/Shared/OLE.php 2 locations

@@ 482-486 (lines=5) @@
479
        // Make HEX string
480
        $res = '';
481
482
        for ($i = 0; $i < 4; ++$i) {
483
            $hex = $low_part % 0x100;
484
            $res .= pack('c', $hex);
485
            $low_part /= 0x100;
486
        }
487
        for ($i = 0; $i < 4; ++$i) {
488
            $hex = $high_part % 0x100;
489
            $res .= pack('c', $hex);
@@ 487-491 (lines=5) @@
484
            $res .= pack('c', $hex);
485
            $low_part /= 0x100;
486
        }
487
        for ($i = 0; $i < 4; ++$i) {
488
            $hex = $high_part % 0x100;
489
            $res .= pack('c', $hex);
490
            $high_part /= 0x100;
491
        }
492
493
        return $res;
494
    }