Completed
Push — master ( d565f6...12549b )
by Michael
02:45
created
app/controllers/CoursesController.php 1 patch
Indentation   +78 added lines, -78 removed lines patch added patch discarded remove patch
@@ -2,96 +2,96 @@
 block discarded – undo
2 2
 
3 3
 class CoursesController extends \BaseController {
4 4
 
5
-    public function __construct(Course $course)
6
-    {
7
-        $this->course = $course;
8
-    }
5
+	public function __construct(Course $course)
6
+	{
7
+		$this->course = $course;
8
+	}
9 9
 
10
-    /**
11
-     * Show the form for creating a new resource.
12
-     *
13
-     * @return Response
14
-     */
15
-    public function index()
16
-    {
17
-        $data = $this->course->all();
18
-        return $data;
19
-    }
10
+	/**
11
+	 * Show the form for creating a new resource.
12
+	 *
13
+	 * @return Response
14
+	 */
15
+	public function index()
16
+	{
17
+		$data = $this->course->all();
18
+		return $data;
19
+	}
20 20
 
21
-    /**
22
-     * Store a newly created resource in storage.
23
-     *
24
-     * @return Response
25
-     */
26
-    public function store()
27
-    {
28
-        //
29
-    }
21
+	/**
22
+	 * Store a newly created resource in storage.
23
+	 *
24
+	 * @return Response
25
+	 */
26
+	public function store()
27
+	{
28
+		//
29
+	}
30 30
 
31
-    /**
32
-     * Display the specified resource.
33
-     *
34
-     * @param  int  $id
35
-     * @return Response
36
-     */
37
-    public function show($id)
38
-    {
39
-        return Course::find($id)->get();
40
-    }
31
+	/**
32
+	 * Display the specified resource.
33
+	 *
34
+	 * @param  int  $id
35
+	 * @return Response
36
+	 */
37
+	public function show($id)
38
+	{
39
+		return Course::find($id)->get();
40
+	}
41 41
 
42
-    /**
43
-     * Show the form for editing the specified resource.
44
-     *
45
-     * @param  int  $id
46
-     * @return Response
47
-     */
48
-    public function edit()
49
-    {
42
+	/**
43
+	 * Show the form for editing the specified resource.
44
+	 *
45
+	 * @param  int  $id
46
+	 * @return Response
47
+	 */
48
+	public function edit()
49
+	{
50 50
 		$operation = Input::get('oper');
51
-        switch ($operation) {
52
-        case "add":
53
-            $this->course->name = Input::get('name');
51
+		switch ($operation) {
52
+		case "add":
53
+			$this->course->name = Input::get('name');
54 54
 			$this->course->par = Input::get('par');
55 55
 			$this->course->rating = Input::get('rating');
56 56
 			$this->course->slope = Input::get('slope');
57
-            $this->course->save();
58
-            break;
59
-        case "edit":
60
-            $id = Input::get('id');
61
-            $this->course = $this->course->find($id);
62
-            $this->course->name = Input::get('name');
57
+			$this->course->save();
58
+			break;
59
+		case "edit":
60
+			$id = Input::get('id');
61
+			$this->course = $this->course->find($id);
62
+			$this->course->name = Input::get('name');
63 63
 			$this->course->par = Input::get('par');
64 64
 			$this->course->rating = Input::get('rating');
65 65
 			$this->course->slope = Input::get('slope');
66
-            $this->course->save();
67
-            break;
68
-        case "del":
69
-            $id = Input::get('id');
70
-            $this->course = $this->course->destroy($id);
71
-            break;
72
-        }
73
-    }
66
+			$this->course->save();
67
+			break;
68
+		case "del":
69
+			$id = Input::get('id');
70
+			$this->course = $this->course->destroy($id);
71
+			break;
72
+		}
73
+	}
74 74
 
75
-    /**
76
-     * Update the specified resource in storage.
77
-     *
78
-     * @param  int  $id
79
-     * @return Response
80
-     */
81
-    public function update($id)
82
-    {
83
-        //
84
-    }
75
+	/**
76
+	 * Update the specified resource in storage.
77
+	 *
78
+	 * @param  int  $id
79
+	 * @return Response
80
+	 */
81
+	public function update($id)
82
+	{
83
+		//
84
+	}
85 85
 
86
-    /**
87
-     * Remove the specified resource from storage.
88
-     *
89
-     * @param  int  $id
90
-     * @return Response
91
-     */
92
-    public function destroy($id)
93
-    {
94
-        //
95
-    }
86
+	/**
87
+	 * Remove the specified resource from storage.
88
+	 *
89
+	 * @param  int  $id
90
+	 * @return Response
91
+	 */
92
+	public function destroy($id)
93
+	{
94
+		//
95
+	}
96 96
 
97 97
 }
98 98
\ No newline at end of file
Please login to merge, or discard this patch.
app/controllers/MatchRoundController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
app/controllers/DoubleController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.
app/controllers/HoleScoresController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/controllers/AdministrationController.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -2,27 +2,27 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
app/controllers/SkinsController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
app/controllers/ScoringAverageController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
app/controllers/RegisterController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/controllers/CalendarController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,11 +5,11 @@
 block discarded – undo
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
Please login to merge, or discard this patch.