Code Duplication    Length = 3-3 lines in 2 locations

src/PhpSpreadsheet/Reader/Xml.php 2 locations

@@ 476-478 (lines=3) @@
473
                                case 'Size':
474
                                    $this->styles[$styleID]['font']['size'] = $styleAttributeValue;
475
                                    break;
476
                                case 'Color':
477
                                    $this->styles[$styleID]['font']['color']['rgb'] = substr($styleAttributeValue, 1);
478
                                    break;
479
                                case 'Bold':
480
                                    $this->styles[$styleID]['font']['bold'] = true;
481
                                    break;
@@ 496-498 (lines=3) @@
493
                    case 'Interior':
494
                        foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {
495
                            switch ($styleAttributeKey) {
496
                                case 'Color':
497
                                    $this->styles[$styleID]['fill']['color']['rgb'] = substr($styleAttributeValue, 1);
498
                                    break;
499
                                case 'Pattern':
500
                                    $this->styles[$styleID]['fill']['type'] = strtolower($styleAttributeValue);
501
                                    break;