@@ -6,11 +6,11 @@ discard block |
||
6 | 6 | class NetController 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->topFiveNetScoresByYear($id); |
|
32 | + $results = $this->leagueStatistics->topFiveNetScoresByYear($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->topFiveNetScoresByYear($id); |
|
32 | + $results = $this->leagueStatistics->topFiveNetScoresByYear($id); |
|
33 | 33 | $data['data'] = $results; |
34 | 34 | return $data; |
35 | 35 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | class NetController extends \BaseController { |
7 | 7 | |
8 | 8 | public function __construct(LeagueStatistics $leagueStatistics) |
9 | - { |
|
9 | + { |
|
10 | 10 | $this->leagueStatistics = $leagueStatistics; |
11 | 11 | } |
12 | 12 |
@@ -4,12 +4,12 @@ |
||
4 | 4 | |
5 | 5 | class MatchRoundController extends \BaseController { |
6 | 6 | |
7 | - public function __construct(MatchRoundService $matchRound) |
|
8 | - { |
|
9 | - $this->matchRound = $matchRound; |
|
10 | - } |
|
7 | + public function __construct(MatchRoundService $matchRound) |
|
8 | + { |
|
9 | + $this->matchRound = $matchRound; |
|
10 | + } |
|
11 | 11 | |
12 | - /** |
|
12 | + /** |
|
13 | 13 | * Display a listing of the resource. |
14 | 14 | * |
15 | 15 | * @return Response |
@@ -5,7 +5,7 @@ |
||
5 | 5 | class MatchRoundController extends \BaseController { |
6 | 6 | |
7 | 7 | public function __construct(MatchRoundService $matchRound) |
8 | - { |
|
8 | + { |
|
9 | 9 | $this->matchRound = $matchRound; |
10 | 10 | } |
11 | 11 |
@@ -6,11 +6,11 @@ discard block |
||
6 | 6 | class DoubleController 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->totalDoubles($id); |
|
32 | + $results = $this->leagueStatistics->totalDoubles($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->totalDoubles($id); |
|
32 | + $results = $this->leagueStatistics->totalDoubles($id); |
|
33 | 33 | $data['data'] = $results; |
34 | 34 | return $data; |
35 | 35 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | class DoubleController extends \BaseController { |
7 | 7 | |
8 | 8 | public function __construct(LeagueStatistics $leagueStatistics) |
9 | - { |
|
9 | + { |
|
10 | 10 | $this->leagueStatistics = $leagueStatistics; |
11 | 11 | } |
12 | 12 |
@@ -5,9 +5,9 @@ discard block |
||
5 | 5 | class HoleScoresController extends \BaseController { |
6 | 6 | |
7 | 7 | public function __construct(HoleScore $holeScore) |
8 | - { |
|
8 | + { |
|
9 | 9 | $this->holeScore = $holeScore; |
10 | - } |
|
10 | + } |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * Display a listing of the resource. |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | public function index() |
18 | 18 | { |
19 | 19 | $data = $this->holeScore->all(); |
20 | - return $data; |
|
20 | + return $data; |
|
21 | 21 | } |
22 | 22 | |
23 | 23 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | class HoleScoresController extends \BaseController { |
6 | 6 | |
7 | 7 | public function __construct(HoleScore $holeScore) |
8 | - { |
|
8 | + { |
|
9 | 9 | $this->holeScore = $holeScore; |
10 | 10 | } |
11 | 11 |
@@ -2,27 +2,27 @@ |
||
2 | 2 | |
3 | 3 | class AdministrationController extends \BaseController { |
4 | 4 | |
5 | - /** |
|
6 | - * Display a listing of the resource. |
|
7 | - * |
|
8 | - * @return Response |
|
9 | - */ |
|
10 | - public function index() |
|
11 | - { |
|
12 | - return View::make('administration'); |
|
13 | - } |
|
5 | + /** |
|
6 | + * Display a listing of the resource. |
|
7 | + * |
|
8 | + * @return Response |
|
9 | + */ |
|
10 | + public function index() |
|
11 | + { |
|
12 | + return View::make('administration'); |
|
13 | + } |
|
14 | 14 | |
15 | - /** |
|
15 | + /** |
|
16 | 16 | |
17 | 17 | /** |
18 | - * Remove the specified resource from storage. |
|
19 | - * |
|
20 | - * @param int $id |
|
21 | - * @return Response |
|
22 | - */ |
|
23 | - public function destroy($id) |
|
24 | - { |
|
25 | - // |
|
26 | - } |
|
18 | + * Remove the specified resource from storage. |
|
19 | + * |
|
20 | + * @param int $id |
|
21 | + * @return Response |
|
22 | + */ |
|
23 | + public function destroy($id) |
|
24 | + { |
|
25 | + // |
|
26 | + } |
|
27 | 27 | |
28 | 28 | } |
29 | 29 | \ No newline at end of file |
@@ -6,11 +6,11 @@ |
||
6 | 6 | class SkinsController 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 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | public function show($id) |
31 | 31 | { |
32 | 32 | $results = $this->leagueStatistics->mostSkinsByYear($id); |
33 | - $newvalue = array_values( (array)$results ); |
|
33 | + $newvalue = array_values((array) $results); |
|
34 | 34 | $data['data'] = $newvalue; |
35 | 35 | return $data; |
36 | 36 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | class SkinsController 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 @@ |
||
6 | 6 | class ScoringAverageController 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 @@ |
||
29 | 29 | */ |
30 | 30 | public function show($id) |
31 | 31 | { |
32 | - $results = $this->leagueStatistics->topFiveScoringAverageByYear($id); |
|
32 | + $results = $this->leagueStatistics->topFiveScoringAverageByYear($id); |
|
33 | 33 | $data['data'] = $results; |
34 | 34 | return $data; |
35 | 35 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | class ScoringAverageController extends \BaseController { |
7 | 7 | |
8 | 8 | public function __construct(LeagueStatistics $leagueStatistics) |
9 | - { |
|
9 | + { |
|
10 | 10 | $this->leagueStatistics = $leagueStatistics; |
11 | 11 | } |
12 | 12 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function create() |
22 | 22 | { |
23 | 23 | return View::make('register'); |
24 | - //load register form |
|
24 | + //load register form |
|
25 | 25 | |
26 | 26 | } |
27 | 27 |
@@ -5,11 +5,11 @@ |
||
5 | 5 | class CalendarController extends \BaseController { |
6 | 6 | |
7 | 7 | public function __construct(CalendarService $calendar) |
8 | - { |
|
9 | - $this->calendar = $calendar; |
|
10 | - } |
|
8 | + { |
|
9 | + $this->calendar = $calendar; |
|
10 | + } |
|
11 | 11 | |
12 | - /** |
|
12 | + /** |
|
13 | 13 | * Display a listing of the resource. |
14 | 14 | * |
15 | 15 | * @return Response |
@@ -5,7 +5,7 @@ |
||
5 | 5 | class CalendarController extends \BaseController { |
6 | 6 | |
7 | 7 | public function __construct(CalendarService $calendar) |
8 | - { |
|
8 | + { |
|
9 | 9 | $this->calendar = $calendar; |
10 | 10 | } |
11 | 11 |