Test Failed
Branch scoresheet (1f7963)
by Julien
02:50
created
src/models/Fight.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     {
35 35
         if ($championship->category->isTeam) {
36 36
             $fighters = $group->teams;
37
-            if (sizeof($fighters) == 0){
37
+            if (sizeof($fighters) == 0) {
38 38
                 $fighters->push(new Team());
39 39
                 $fighters->push(new Team());
40 40
             } else if (count($fighters) % 2 != 0) {
@@ -43,10 +43,10 @@  discard block
 block discarded – undo
43 43
 
44 44
         } else {
45 45
             $fighters = $group->competitors;
46
-            if (sizeof($fighters) == 0){ // If
46
+            if (sizeof($fighters) == 0) { // If
47 47
                 $fighters->push(new Competitor());
48 48
                 $fighters->push(new Competitor());
49
-            }else if (count($fighters) % 2 != 0) { // If fighter is not pair, add a BYE
49
+            } else if (count($fighters) % 2 != 0) { // If fighter is not pair, add a BYE
50 50
                 $fighters->push(new Competitor());
51 51
             }
52 52
 
Please login to merge, or discard this patch.