Passed
Branch master (d020b1)
by Julien
30:07
created
src/models/FightersGroup.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,9 @@
 block discarded – undo
203 203
             $fightsByRound = $championship->fightsByRound($numRound)->with('group.parent')->get();
204 204
             foreach ($fightsByRound as $fight) {
205 205
                 $parentGroup = $fight->group->parent;
206
-                if ($parentGroup == null) break;
206
+                if ($parentGroup == null) {
207
+                    break;
208
+                }
207 209
                 $parentFight = $parentGroup->fights->get(0); //TODO This Might change when extending to Preliminary
208 210
 
209 211
                 // IN this $fight, is c1 or c2 has the info?
Please login to merge, or discard this patch.