Code Duplication    Length = 11-11 lines in 2 locations

app/library/Classes/Statistics/LeagueStatisticsEloquent.php 2 locations

@@ 356-366 (lines=11) @@
353
		return $netScores;
354
	}
355
356
	public function netCumulative()
357
	{
358
		//get players
359
		$players = Player::all();
360
361
		$cumulativeNetScores = new \Illuminate\Support\Collection();
362
		foreach($players as $player){
363
			$cumulativeNetScores->push($this->netCumulativeByPlayer($player->id));
364
		}
365
		return $cumulativeNetScores;
366
	}
367
	public function netCumulativeTop($top)
368
	{
369
		//get players
@@ 414-424 (lines=11) @@
411
412
		return $cumulativeNet;
413
	}
414
	public function netCumulativeYear($year)
415
	{
416
		//get players
417
		$players = Player::all();
418
419
		$cumulativeNetScores = new \Illuminate\Support\Collection();
420
		foreach($players as $player){
421
			$cumulativeNetScores->push($this->netCumulativeByPlayerYear($player->id,$year));
422
		}
423
		return $cumulativeNetScores;
424
	}
425
	public function netCumulativeTopYear($top,$year)
426
	{
427
		//get players