Code Duplication    Length = 11-12 lines in 2 locations

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

@@ 302-313 (lines=12) @@
299
		return $netScores->take($top);
300
	}
301
302
	public function netScoresLeague()
303
	{
304
		//get players
305
		$players = Player::all();
306
307
		$netScores = new \Illuminate\Support\Collection();
308
		foreach($players as $player){
309
			$netScores->push($this->netScoresByPlayer($player->id));
310
		}
311
		return $netScores;
312
313
	}
314
	public function netScoresLeagueTop($number)
315
	{
316
		//get players
@@ 329-339 (lines=11) @@
326
327
		return $netScores;
328
	}
329
	public function netScoresLeagueYear($year)
330
	{
331
		//get players
332
		$players = Player::all();
333
334
		$netScores = new \Illuminate\Support\Collection();
335
		foreach($players as $player){
336
			$netScores->push($this->netScoresByPlayerYear($player->id,$year));
337
		}
338
		return $netScores;
339
	}
340
	public function netScoresLeagueTopYear($top,$year)
341
	{
342
		//get players