Test Failed
Push — master ( 35b385...6b34e1 )
by Marcel
05:53
created
app/Http/Controllers/ReportController.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@  discard block
 block discarded – undo
37 37
     }
38 38
 
39 39
     public function index_user() {
40
-        if(\Auth::check()){
41
-            if(\Auth::user()->can('admin-games')){
40
+        if (\Auth::check()) {
41
+            if (\Auth::user()->can('admin-games')) {
42 42
                 $ur = UserReport::all();
43
-            }else{
43
+            }else {
44 44
                 $ur = UserReport::whereUserId(\Auth::id());
45 45
             }
46
-        }else{
46
+        }else {
47 47
             $ur = null;
48 48
         }
49 49
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         ]);
53 53
     }
54 54
 
55
-    public function close_ticket($id){
55
+    public function close_ticket($id) {
56 56
         $t = UserReport::whereId($id)->first();
57 57
         $t->closed = 1;
58 58
         $t->closed_at = Carbon::now();
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         return redirect()->action('ReportController@index_user');
63 63
     }
64 64
 
65
-    public function open_ticket($id){
65
+    public function open_ticket($id) {
66 66
         $t = UserReport::whereId($id)->first();
67 67
         $t->closed = 0;
68 68
         $t->closed_at = Carbon::now();
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         return redirect()->action('ReportController@index_user');
73 73
     }
74 74
 
75
-    public function remark_ticket($id){
75
+    public function remark_ticket($id) {
76 76
 
77 77
     }
78 78
 }
Please login to merge, or discard this patch.