Code Duplication    Length = 3-3 lines in 2 locations

src/PhpSpreadsheet/Reader/Xml.php 2 locations

@@ 501-503 (lines=3) @@
498
                                case 'Size':
499
                                    $this->styles[$styleID]['font']['size'] = $styleAttributeValue;
500
                                    break;
501
                                case 'Color':
502
                                    $this->styles[$styleID]['font']['color']['rgb'] = substr($styleAttributeValue, 1);
503
                                    break;
504
                                case 'Bold':
505
                                    $this->styles[$styleID]['font']['bold'] = true;
506
                                    break;
@@ 521-523 (lines=3) @@
518
                    case 'Interior':
519
                        foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {
520
                            switch ($styleAttributeKey) {
521
                                case 'Color':
522
                                    $this->styles[$styleID]['fill']['color']['rgb'] = substr($styleAttributeValue, 1);
523
                                    break;
524
                                case 'Pattern':
525
                                    $this->styles[$styleID]['fill']['fillType'] = strtolower($styleAttributeValue);
526
                                    break;