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