@@ -5,7 +5,7 @@ |
||
5 | 5 | protected $table = 'money'; |
6 | 6 | |
7 | 7 | public function matches() |
8 | - { |
|
9 | - return $this->belongsTo('Match'); |
|
10 | - } |
|
8 | + { |
|
9 | + return $this->belongsTo('Match'); |
|
10 | + } |
|
11 | 11 | } |
12 | 12 | \ No newline at end of file |
@@ -5,7 +5,7 @@ |
||
5 | 5 | protected $table = 'money'; |
6 | 6 | |
7 | 7 | public function matches() |
8 | - { |
|
8 | + { |
|
9 | 9 | return $this->belongsTo('Match'); |
10 | 10 | } |
11 | 11 | } |
12 | 12 | \ No newline at end of file |
@@ -3,13 +3,13 @@ |
||
3 | 3 | class Grosswinner extends Eloquent { |
4 | 4 | |
5 | 5 | public function matches() |
6 | - { |
|
7 | - return $this->belongsTo('Match'); |
|
8 | - } |
|
9 | - |
|
10 | - public function player() |
|
11 | - { |
|
12 | - return $this->belongsTo('Player'); |
|
13 | - } |
|
6 | + { |
|
7 | + return $this->belongsTo('Match'); |
|
8 | + } |
|
9 | + |
|
10 | + public function player() |
|
11 | + { |
|
12 | + return $this->belongsTo('Player'); |
|
13 | + } |
|
14 | 14 | |
15 | 15 | } |
16 | 16 | \ No newline at end of file |
@@ -3,7 +3,7 @@ |
||
3 | 3 | class Grosswinner extends Eloquent { |
4 | 4 | |
5 | 5 | public function matches() |
6 | - { |
|
6 | + { |
|
7 | 7 | return $this->belongsTo('Match'); |
8 | 8 | } |
9 | 9 |
@@ -6,11 +6,11 @@ discard block |
||
6 | 6 | class OtherController extends \BaseController { |
7 | 7 | |
8 | 8 | public function __construct(LeagueStatistics $leagueStatistics) |
9 | - { |
|
9 | + { |
|
10 | 10 | $this->leagueStatistics = $leagueStatistics; |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - /** |
|
13 | + /** |
|
14 | 14 | * Display a listing of the resource. |
15 | 15 | * |
16 | 16 | * @return Response |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function show($id) |
31 | 31 | { |
32 | - $results = $this->leagueStatistics->totalOthers($id); |
|
32 | + $results = $this->leagueStatistics->totalOthers($id); |
|
33 | 33 | $data['data'] = $results; |
34 | 34 | return $data; |
35 | 35 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | */ |
30 | 30 | public function show($id) |
31 | 31 | { |
32 | - $results = $this->leagueStatistics->totalOthers($id); |
|
32 | + $results = $this->leagueStatistics->totalOthers($id); |
|
33 | 33 | $data['data'] = $results; |
34 | 34 | return $data; |
35 | 35 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | class OtherController extends \BaseController { |
7 | 7 | |
8 | 8 | public function __construct(LeagueStatistics $leagueStatistics) |
9 | - { |
|
9 | + { |
|
10 | 10 | $this->leagueStatistics = $leagueStatistics; |
11 | 11 | } |
12 | 12 |
@@ -28,7 +28,7 @@ |
||
28 | 28 | public function create() |
29 | 29 | { |
30 | 30 | $view = View::make('finalizematch'); |
31 | - return $view; |
|
31 | + return $view; |
|
32 | 32 | } |
33 | 33 | |
34 | 34 |
@@ -3,9 +3,9 @@ |
||
3 | 3 | class LevelsController extends \BaseController { |
4 | 4 | |
5 | 5 | public function __construct(Level $level) |
6 | - { |
|
7 | - $this->level = $level; |
|
8 | - } |
|
6 | + { |
|
7 | + $this->level = $level; |
|
8 | + } |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Display a listing of the resource. |
@@ -3,7 +3,7 @@ |
||
3 | 3 | class LevelsController extends \BaseController { |
4 | 4 | |
5 | 5 | public function __construct(Level $level) |
6 | - { |
|
6 | + { |
|
7 | 7 | $this->level = $level; |
8 | 8 | } |
9 | 9 |
@@ -5,9 +5,9 @@ |
||
5 | 5 | class RoundsController extends \BaseController { |
6 | 6 | |
7 | 7 | public function __construct(RoundRepo $roundRepo) |
8 | - { |
|
8 | + { |
|
9 | 9 | $this->roundRepo = $roundRepo; |
10 | - } |
|
10 | + } |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * Get Data for all rounds |
@@ -47,7 +47,7 @@ |
||
47 | 47 | */ |
48 | 48 | public function show($id) |
49 | 49 | { |
50 | - $results = $this->roundRepo->findByPlayer($id); |
|
50 | + $results = $this->roundRepo->findByPlayer($id); |
|
51 | 51 | $data['data'] = $results; |
52 | 52 | return $data; |
53 | 53 | } |
@@ -5,7 +5,7 @@ |
||
5 | 5 | class RoundsController extends \BaseController { |
6 | 6 | |
7 | 7 | public function __construct(RoundRepo $roundRepo) |
8 | - { |
|
8 | + { |
|
9 | 9 | $this->roundRepo = $roundRepo; |
10 | 10 | } |
11 | 11 |
@@ -5,11 +5,11 @@ discard block |
||
5 | 5 | class LeagueStatisticsController extends \BaseController { |
6 | 6 | |
7 | 7 | public function __construct(LeagueStatistics $leagueStatistics) |
8 | - { |
|
9 | - $this->leagueStatistics = $leagueStatistics; |
|
10 | - } |
|
8 | + { |
|
9 | + $this->leagueStatistics = $leagueStatistics; |
|
10 | + } |
|
11 | 11 | |
12 | - /** |
|
12 | + /** |
|
13 | 13 | * Display a listing of the resource. |
14 | 14 | * |
15 | 15 | * @return Response |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | public function show($id) |
52 | 52 | { |
53 | - return $this->leagueStatistics{$id}(Input::get('year')); |
|
53 | + return $this->leagueStatistics{$id}(Input::get('year')); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | class LeagueStatisticsController extends \BaseController { |
6 | 6 | |
7 | 7 | public function __construct(LeagueStatistics $leagueStatistics) |
8 | - { |
|
8 | + { |
|
9 | 9 | $this->leagueStatistics = $leagueStatistics; |
10 | 10 | } |
11 | 11 |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * Show the form for editing the specified resource. |
59 | 59 | * |
60 | 60 | * @param int $id |
61 | - * @return Response |
|
61 | + * @return integer |
|
62 | 62 | */ |
63 | 63 | public function edit($id) |
64 | 64 | { |
@@ -6,11 +6,11 @@ discard block |
||
6 | 6 | class ParController extends \BaseController { |
7 | 7 | |
8 | 8 | public function __construct(LeagueStatistics $leagueStatistics) |
9 | - { |
|
9 | + { |
|
10 | 10 | $this->leagueStatistics = $leagueStatistics; |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - /** |
|
13 | + /** |
|
14 | 14 | * Display a listing of the resource. |
15 | 15 | * |
16 | 16 | * @return Response |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function show($id) |
31 | 31 | { |
32 | - $results = $this->leagueStatistics->totalPars($id); |
|
32 | + $results = $this->leagueStatistics->totalPars($id); |
|
33 | 33 | $data['data'] = $results; |
34 | 34 | return $data; |
35 | 35 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | */ |
30 | 30 | public function show($id) |
31 | 31 | { |
32 | - $results = $this->leagueStatistics->totalPars($id); |
|
32 | + $results = $this->leagueStatistics->totalPars($id); |
|
33 | 33 | $data['data'] = $results; |
34 | 34 | return $data; |
35 | 35 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | class ParController extends \BaseController { |
7 | 7 | |
8 | 8 | public function __construct(LeagueStatistics $leagueStatistics) |
9 | - { |
|
9 | + { |
|
10 | 10 | $this->leagueStatistics = $leagueStatistics; |
11 | 11 | } |
12 | 12 |
@@ -6,11 +6,11 @@ discard block |
||
6 | 6 | class BirdController extends \BaseController { |
7 | 7 | |
8 | 8 | public function __construct(LeagueStatistics $leagueStatistics) |
9 | - { |
|
9 | + { |
|
10 | 10 | $this->leagueStatistics = $leagueStatistics; |
11 | - } |
|
11 | + } |
|
12 | 12 | |
13 | - /** |
|
13 | + /** |
|
14 | 14 | * Display a listing of the resource. |
15 | 15 | * |
16 | 16 | * @return Response |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function show($id) |
31 | 31 | { |
32 | - $results = $this->leagueStatistics->totalBirdies($id); |
|
32 | + $results = $this->leagueStatistics->totalBirdies($id); |
|
33 | 33 | $data['data'] = $results; |
34 | 34 | return $data; |
35 | 35 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | */ |
30 | 30 | public function show($id) |
31 | 31 | { |
32 | - $results = $this->leagueStatistics->totalBirdies($id); |
|
32 | + $results = $this->leagueStatistics->totalBirdies($id); |
|
33 | 33 | $data['data'] = $results; |
34 | 34 | return $data; |
35 | 35 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | class BirdController extends \BaseController { |
7 | 7 | |
8 | 8 | public function __construct(LeagueStatistics $leagueStatistics) |
9 | - { |
|
9 | + { |
|
10 | 10 | $this->leagueStatistics = $leagueStatistics; |
11 | 11 | } |
12 | 12 |