Code Duplication    Length = 6-6 lines in 2 locations

src/PhpSpreadsheet/Reader/Excel5.php 2 locations

@@ 1327-1332 (lines=6) @@
1324
                case 0x13: // 4 byte unsigned integer
1325
                    // not needed yet, fix later if necessary
1326
                    break;
1327
                case 0x1E: // null-terminated string prepended by dword string length
1328
                    $byteLength = self::getInt4d($this->summaryInformation, $secOffset + 4 + $offset);
1329
                    $value = substr($this->summaryInformation, $secOffset + 8 + $offset, $byteLength);
1330
                    $value = \PhpOffice\PhpSpreadsheet\Shared\StringHelper::convertEncoding($value, 'UTF-8', $codePage);
1331
                    $value = rtrim($value);
1332
                    break;
1333
                case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)
1334
                    // PHP-time
1335
                    $value = \PhpOffice\PhpSpreadsheet\Shared\OLE::OLE2LocalDate(substr($this->summaryInformation, $secOffset + 4 + $offset, 8));
@@ 1465-1470 (lines=6) @@
1462
                case 0x13:    //    4 byte unsigned integer
1463
                    // not needed yet, fix later if necessary
1464
                    break;
1465
                case 0x1E:    //    null-terminated string prepended by dword string length
1466
                    $byteLength = self::getInt4d($this->documentSummaryInformation, $secOffset + 4 + $offset);
1467
                    $value = substr($this->documentSummaryInformation, $secOffset + 8 + $offset, $byteLength);
1468
                    $value = \PhpOffice\PhpSpreadsheet\Shared\StringHelper::convertEncoding($value, 'UTF-8', $codePage);
1469
                    $value = rtrim($value);
1470
                    break;
1471
                case 0x40:    //    Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)
1472
                    // PHP-Time
1473
                    $value = \PhpOffice\PhpSpreadsheet\Shared\OLE::OLE2LocalDate(substr($this->documentSummaryInformation, $secOffset + 4 + $offset, 8));