Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 294-296 (lines=3) @@
291
                if (($raList[$i]->Size >= OLE::OLE_DATA_SIZE_SMALL) || (($raList[$i]->Type == OLE::OLE_PPS_TYPE_ROOT) && isset($raList[$i]->_data))) {
292
                    fwrite($FILE, $raList[$i]->_data);
293
294
                    if ($raList[$i]->Size % $this->bigBlockSize) {
295
                        fwrite($FILE, str_repeat("\x00", $this->bigBlockSize - ($raList[$i]->Size % $this->bigBlockSize)));
296
                    }
297
                    // Set For PPS
298
                    $raList[$i]->startBlock = $iStBlk;
299
                    $iStBlk +=
@@ 337-339 (lines=3) @@
334
335
                    // Add to Data String(this will be written for RootEntry)
336
                    $sRes .= $raList[$i]->_data;
337
                    if ($raList[$i]->Size % $this->smallBlockSize) {
338
                        $sRes .= str_repeat("\x00", $this->smallBlockSize - ($raList[$i]->Size % $this->smallBlockSize));
339
                    }
340
                    // Set for PPS
341
                    $raList[$i]->startBlock = $iSmBlk;
342
                    $iSmBlk += $iSmbCnt;