Code Duplication    Length = 4-4 lines in 2 locations

src/PhpSpreadsheet/Writer/Excel5.php 2 locations

@@ 190-193 (lines=4) @@
187
188
        $this->documentSummaryInformation = $this->writeDocumentSummaryInformation();
189
        // initialize OLE Document Summary Information
190
        if (isset($this->documentSummaryInformation) && !empty($this->documentSummaryInformation)) {
191
            $OLE_DocumentSummaryInformation = new \PhpSpreadsheet\Shared\OLE\PPS\File(\PhpSpreadsheet\Shared\OLE::ascToUcs(chr(5) . 'DocumentSummaryInformation'));
192
            $OLE_DocumentSummaryInformation->append($this->documentSummaryInformation);
193
        }
194
195
        $this->summaryInformation = $this->writeSummaryInformation();
196
        // initialize OLE Summary Information
@@ 197-200 (lines=4) @@
194
195
        $this->summaryInformation = $this->writeSummaryInformation();
196
        // initialize OLE Summary Information
197
        if (isset($this->summaryInformation) && !empty($this->summaryInformation)) {
198
            $OLE_SummaryInformation = new \PhpSpreadsheet\Shared\OLE\PPS\File(\PhpSpreadsheet\Shared\OLE::ascToUcs(chr(5) . 'SummaryInformation'));
199
            $OLE_SummaryInformation->append($this->summaryInformation);
200
        }
201
202
        // define OLE Parts
203
        $arrRootData = array($OLE);