Code Duplication    Length = 11-12 lines in 2 locations

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

@@ 334-345 (lines=12) @@
331
		return $netScores->take($top);
332
	}
333
334
	public function netScoresLeague()
335
	{
336
		//get players
337
		$players = Player::all();
338
339
		$netScores = new \Illuminate\Support\Collection();
340
		foreach($players as $player){
341
			$netScores->push($this->netScoresByPlayer($player->id));
342
		}
343
		return $netScores;
344
345
	}
346
	public function netScoresLeagueTop($number)
347
	{
348
		//get players
@@ 361-371 (lines=11) @@
358
359
		return $netScores;
360
	}
361
	public function netScoresLeagueYear($year)
362
	{
363
		//get players
364
		$players = Player::all();
365
366
		$netScores = new \Illuminate\Support\Collection();
367
		foreach($players as $player){
368
			$netScores->push($this->netScoresByPlayerYear($player->id,$year));
369
		}
370
		return $netScores;
371
	}
372
	public function netScoresLeagueTopYear($top,$year)
373
	{
374
		//get players