Code Duplication    Length = 3-3 lines in 2 locations

src/PhpSpreadsheet/Shared/OLE/PPS/Root.php 2 locations

@@ 329-331 (lines=3) @@
326
        $iSbCnt = floor($this->_BIG_BLOCK_SIZE / OLE::OLE_LONG_INT_SIZE);
327
        if ($iSmBlk % $iSbCnt) {
328
            $iB = $iSbCnt - ($iSmBlk % $iSbCnt);
329
            for ($i = 0; $i < $iB; ++$i) {
330
                fwrite($FILE, pack('V', -1));
331
            }
332
        }
333
334
        return $sRes;
@@ 437-439 (lines=3) @@
434
            }
435
            if (($iBdCnt - $i1stBdL) % ($iBbCnt - 1)) {
436
                $iB = ($iBbCnt - 1) - (($iBdCnt - $i1stBdL) % ($iBbCnt - 1));
437
                for ($i = 0; $i < $iB; ++$i) {
438
                    fwrite($FILE, pack('V', -1));
439
                }
440
            }
441
            fwrite($FILE, pack('V', -2));
442
        }