Completed
Push — master ( 54ddf1...ef6d8d )
by Julien
02:51
created
src/TreeController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      *
42 42
      * @param Request $request
43 43
      *
44
-     * @return \Illuminate\Http\Response|string
44
+     * @return \Illuminate\Http\RedirectResponse
45 45
      */
46 46
     public function store(Request $request, $championshipId)
47 47
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,8 +118,8 @@
 block discarded – undo
118 118
         $query = FightersGroup::with('fights')
119 119
             ->where('championship_id', $championship->id);
120 120
 
121
-        if ($championship->hasPreliminary()){
122
-            $query = $query->where('round','>',1);
121
+        if ($championship->hasPreliminary()) {
122
+            $query = $query->where('round', '>', 1);
123 123
         }
124 124
         $groups = $query->get();
125 125
         $fights = $request->fights;
Please login to merge, or discard this patch.