Code Duplication    Length = 4-4 lines in 2 locations

src/PhpSpreadsheet/Writer/Xls.php 2 locations

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