@@ -41,7 +41,7 @@ |
||
| 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 | { |
@@ -118,8 +118,8 @@ |
||
| 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; |