Code Duplication    Length = 7-7 lines in 2 locations

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

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