Completed
Push — master ( d565f6...12549b )
by Michael
02:45
created
app/library/Services/MoneyService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
 use \Netwinner;
8 8
 use \Skin;
9 9
 
10
-use Illuminate\Events\Dispatcher;
11
-
12 10
 /**
13 11
 * MoneyService, containing all useful methods for business logic for money relating to a match
14 12
 */
Please login to merge, or discard this patch.
app/controllers/CoursesController.php 1 patch
Switch Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -49,26 +49,26 @@
 block discarded – undo
49 49
     {
50 50
 		$operation = Input::get('oper');
51 51
         switch ($operation) {
52
-        case "add":
53
-            $this->course->name = Input::get('name');
54
-			$this->course->par = Input::get('par');
55
-			$this->course->rating = Input::get('rating');
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');
63
-			$this->course->par = Input::get('par');
64
-			$this->course->rating = Input::get('rating');
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;
52
+        	case "add":
53
+            	$this->course->name = Input::get('name');
54
+				$this->course->par = Input::get('par');
55
+				$this->course->rating = Input::get('rating');
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');
63
+				$this->course->par = Input::get('par');
64
+				$this->course->rating = Input::get('rating');
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 72
         }
73 73
     }
74 74
 
Please login to merge, or discard this patch.