Code Duplication    Length = 3-3 lines in 2 locations

src/PhpSpreadsheet/Reader/Xml.php 2 locations

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