Code Duplication    Length = 4-4 lines in 2 locations

src/PhpSpreadsheet/Writer/Xls.php 2 locations

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