Code Duplication    Length = 3-3 lines in 2 locations

src/PhpSpreadsheet/Reader/Xml.php 2 locations

@@ 505-507 (lines=3) @@
502
                                    $this->styles[$styleID]['font']['size'] = $styleAttributeValue;
503
504
                                    break;
505
                                case 'Color':
506
                                    $this->styles[$styleID]['font']['color']['rgb'] = substr($styleAttributeValue, 1);
507
508
                                    break;
509
                                case 'Bold':
510
                                    $this->styles[$styleID]['font']['bold'] = true;
@@ 530-532 (lines=3) @@
527
                    case 'Interior':
528
                        foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {
529
                            switch ($styleAttributeKey) {
530
                                case 'Color':
531
                                    $this->styles[$styleID]['fill']['color']['rgb'] = substr($styleAttributeValue, 1);
532
533
                                    break;
534
                                case 'Pattern':
535
                                    $this->styles[$styleID]['fill']['fillType'] = strtolower($styleAttributeValue);