Test Failed
Push — master ( 262e91...d4bdb3 )
by Marcel
04:20
created
app/Helpers/MiscHelper.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
         if ($max == 0 || $views == 0) {
32 32
             $ret = 0;
33
-        }else {
33
+        } else {
34 34
             $ret = ($views / $max) * 100;
35 35
         }
36 36
 
Please login to merge, or discard this patch.
app/Helpers/CheckRateableHelper.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
         if ($comments->up > 0 || $comments->down > 0) {
15 15
             return false;
16
-        }else {
16
+        } else {
17 17
             return true;
18 18
         }
19 19
     }
Please login to merge, or discard this patch.
app/Http/Controllers/BoardController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         $posts = BoardPost::with('user', 'thread', 'cat')->whereThreadId($threadid)->orderBy('id')->paginate(25);
88 88
         if (!Input::get('page')) {
89 89
             return redirect('board/thread/'.$threadid.'?page='.$posts->lastPage());
90
-        }else {
90
+        } else {
91 91
             return view('board.threads.show', [
92 92
                 'posts' => $posts,
93 93
             ]);
Please login to merge, or discard this patch.