Code Duplication    Length = 10-12 lines in 2 locations

app/Vendor/PHPExcel/PHPExcel/Writer/Excel2007/Chart.php 2 locations

@@ 281-290 (lines=10) @@
278
								$objWriter->writeAttribute('val', 100 );
279
							$objWriter->endElement();
280
						}
281
					} elseif ($chartType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) {
282
283
							$objWriter->startElement('c:bubbleScale');
284
								$objWriter->writeAttribute('val', 25 );
285
							$objWriter->endElement();
286
287
							$objWriter->startElement('c:showNegBubbles');
288
								$objWriter->writeAttribute('val', 0 );
289
							$objWriter->endElement();
290
					} elseif ($chartType === PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) {
291
292
							$objWriter->startElement('c:hiLowLines');
293
							$objWriter->endElement();
@@ 314-325 (lines=12) @@
311
						$objWriter->startElement('c:axId');
312
							$objWriter->writeAttribute('val', $id2 );
313
						$objWriter->endElement();
314
					} else {
315
						$objWriter->startElement('c:firstSliceAng');
316
							$objWriter->writeAttribute('val', 0);
317
						$objWriter->endElement();
318
319
						if ($chartType === PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) {
320
321
							$objWriter->startElement('c:holeSize');
322
								$objWriter->writeAttribute('val', 50);
323
							$objWriter->endElement();
324
						}
325
					}
326
327
				$objWriter->endElement();
328
			}