Code Duplication    Length = 6-6 lines in 2 locations

src/PhpSpreadsheet/Reader/Excel5.php 2 locations

@@ 1339-1344 (lines=6) @@
1336
                case 0x13: // 4 byte unsigned integer
1337
                    // not needed yet, fix later if necessary
1338
                    break;
1339
                case 0x1E: // null-terminated string prepended by dword string length
1340
                    $byteLength = self::getInt4d($this->summaryInformation, $secOffset + 4 + $offset);
1341
                    $value = substr($this->summaryInformation, $secOffset + 8 + $offset, $byteLength);
1342
                    $value = \PhpSpreadsheet\Shared\StringHelper::convertEncoding($value, 'UTF-8', $codePage);
1343
                    $value = rtrim($value);
1344
                    break;
1345
                case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)
1346
                    // PHP-time
1347
                    $value = \PhpSpreadsheet\Shared\OLE::OLE2LocalDate(substr($this->summaryInformation, $secOffset + 4 + $offset, 8));
@@ 1484-1489 (lines=6) @@
1481
                case 0x13:    //    4 byte unsigned integer
1482
                    // not needed yet, fix later if necessary
1483
                    break;
1484
                case 0x1E:    //    null-terminated string prepended by dword string length
1485
                    $byteLength = self::getInt4d($this->documentSummaryInformation, $secOffset + 4 + $offset);
1486
                    $value = substr($this->documentSummaryInformation, $secOffset + 8 + $offset, $byteLength);
1487
                    $value = \PhpSpreadsheet\Shared\StringHelper::convertEncoding($value, 'UTF-8', $codePage);
1488
                    $value = rtrim($value);
1489
                    break;
1490
                case 0x40:    //    Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)
1491
                    // PHP-Time
1492
                    $value = \PhpSpreadsheet\Shared\OLE::OLE2LocalDate(substr($this->documentSummaryInformation, $secOffset + 4 + $offset, 8));