Code Duplication    Length = 7-7 lines in 2 locations

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

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