Completed
Push — master ( 2b97b9...a29214 )
by John
28s queued 15s
created
app/Http/Middleware/Contest/Exists.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@
 block discarded – undo
9 9
 {
10 10
     public function handle($request, Closure $next)
11 11
     {
12
-        $contest = Contest::find($request->cid);
12
+        $contest=Contest::find($request->cid);
13 13
 
14
-        if(blank($contest)) {
14
+        if (blank($contest)) {
15 15
             return redirect()->route('contest.index');
16 16
         }
17 17
 
Please login to merge, or discard this patch.
app/Http/Controllers/Contest/IndexController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,10 +70,10 @@
 block discarded – undo
70 70
         if (Auth::check()) {
71 71
             $contest_detail=$contestModel->detail($cid, Auth::user()->id);
72 72
             $registration=$contestModel->registration($cid, Auth::user()->id);
73
-            if(filled($contest_detail["data"])) {
73
+            if (filled($contest_detail["data"])) {
74 74
                 $inGroup=$groupModel->isMember($contest_detail["data"]["contest_detail"]["gid"], Auth::user()->id);
75 75
             } else {
76
-                $inGroup = false;
76
+                $inGroup=false;
77 77
             }
78 78
         } else {
79 79
             $contest_detail=$contestModel->detail($cid);
Please login to merge, or discard this patch.