Code Duplication    Length = 6-6 lines in 2 locations

src/PhpSpreadsheet/Reader/Xls.php 2 locations

@@ 1358-1363 (lines=6) @@
1355
                case 0x13: // 4 byte unsigned integer
1356
                    // not needed yet, fix later if necessary
1357
                    break;
1358
                case 0x1E: // null-terminated string prepended by dword string length
1359
                    $byteLength = self::getInt4d($this->summaryInformation, $secOffset + 4 + $offset);
1360
                    $value = substr($this->summaryInformation, $secOffset + 8 + $offset, $byteLength);
1361
                    $value = StringHelper::convertEncoding($value, 'UTF-8', $codePage);
1362
                    $value = rtrim($value);
1363
                    break;
1364
                case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)
1365
                    // PHP-time
1366
                    $value = OLE::OLE2LocalDate(substr($this->summaryInformation, $secOffset + 4 + $offset, 8));
@@ 1496-1501 (lines=6) @@
1493
                case 0x13:    //    4 byte unsigned integer
1494
                    // not needed yet, fix later if necessary
1495
                    break;
1496
                case 0x1E:    //    null-terminated string prepended by dword string length
1497
                    $byteLength = self::getInt4d($this->documentSummaryInformation, $secOffset + 4 + $offset);
1498
                    $value = substr($this->documentSummaryInformation, $secOffset + 8 + $offset, $byteLength);
1499
                    $value = StringHelper::convertEncoding($value, 'UTF-8', $codePage);
1500
                    $value = rtrim($value);
1501
                    break;
1502
                case 0x40:    //    Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601)
1503
                    // PHP-Time
1504
                    $value = OLE::OLE2LocalDate(substr($this->documentSummaryInformation, $secOffset + 4 + $offset, 8));