Code Duplication    Length = 7-7 lines in 2 locations

src/PhpSpreadsheet/Reader/Xlsx/Chart.php 2 locations

@@ 130-136 (lines=7) @@
127
                                            $plotSeries[] = $plotSer;
128
                                            $plotAttributes = self::readChartAttributes($chartDetail);
129
                                            break;
130
                                        case 'scatterChart':
131
                                            $scatterStyle = self::getAttribute($chartDetail->scatterStyle, 'val', 'string');
132
                                            $plotSer = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);
133
                                            $plotSer->setPlotStyle($scatterStyle);
134
                                            $plotSeries[] = $plotSer;
135
                                            $plotAttributes = self::readChartAttributes($chartDetail);
136
                                            break;
137
                                        case 'bubbleChart':
138
                                            $bubbleScale = self::getAttribute($chartDetail->bubbleScale, 'val', 'integer');
139
                                            $plotSer = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);
@@ 144-150 (lines=7) @@
141
                                            $plotSeries[] = $plotSer;
142
                                            $plotAttributes = self::readChartAttributes($chartDetail);
143
                                            break;
144
                                        case 'radarChart':
145
                                            $radarStyle = self::getAttribute($chartDetail->radarStyle, 'val', 'string');
146
                                            $plotSer = self::chartDataSeries($chartDetail, $namespacesChartMeta, $chartDetailKey);
147
                                            $plotSer->setPlotStyle($radarStyle);
148
                                            $plotSeries[] = $plotSer;
149
                                            $plotAttributes = self::readChartAttributes($chartDetail);
150
                                            break;
151
                                        case 'surfaceChart':
152
                                        case 'surface3DChart':
153
                                            $wireFrame = self::getAttribute($chartDetail->wireframe, 'val', 'boolean');