Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 274-276 (lines=3) @@
271
                if (($raList[$i]->Size >= OLE::OLE_DATA_SIZE_SMALL) || (($raList[$i]->Type == OLE::OLE_PPS_TYPE_ROOT) && isset($raList[$i]->_data))) {
272
                    fwrite($FILE, $raList[$i]->_data);
273
274
                    if ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE) {
275
                        fwrite($FILE, str_repeat("\x00", $this->_BIG_BLOCK_SIZE - ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)));
276
                    }
277
                    // Set For PPS
278
                    $raList[$i]->startBlock = $iStBlk;
279
                    $iStBlk +=
@@ 317-319 (lines=3) @@
314
315
                    // Add to Data String(this will be written for RootEntry)
316
                    $sRes .= $raList[$i]->_data;
317
                    if ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE) {
318
                        $sRes .= str_repeat("\x00", $this->_SMALL_BLOCK_SIZE - ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE));
319
                    }
320
                    // Set for PPS
321
                    $raList[$i]->startBlock = $iSmBlk;
322
                    $iSmBlk += $iSmbCnt;