Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 270-272 (lines=3) @@
267
        }
268
        if ($i < $i1stBdL) {
269
            $jB = $i1stBdL - $i;
270
            for ($j = 0; $j < $jB; ++$j) {
271
                fwrite($FILE, (pack('V', -1)));
272
            }
273
        }
274
    }
275
@@ 330-332 (lines=3) @@
327
                                  + (($raList[$i]->Size % $this->smallBlockSize) ? 1 : 0);
328
                    // Add to SBD
329
                    $jB = $iSmbCnt - 1;
330
                    for ($j = 0; $j < $jB; ++$j) {
331
                        fwrite($FILE, pack('V', $j + $iSmBlk + 1));
332
                    }
333
                    fwrite($FILE, pack('V', -2));
334
335
                    // Add to Data String(this will be written for RootEntry)