Test Failed
Branch scoresheet (1f7963)
by Julien
02:50
created
src/TreeGen/TreeGen.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -252,8 +252,9 @@  discard block
 block discarded – undo
252 252
     }
253 253
 
254 254
     /**
255
-     * @param $usersByArea
256
-     * @param $area
255
+     * @param Collection $usersByArea
256
+     * @param integer $area
257
+     * @param integer $round
257 258
      *
258 259
      */
259 260
     public function generateGroupsForRound($usersByArea, $area, $round)
@@ -283,7 +284,7 @@  discard block
 block discarded – undo
283 284
     /**
284 285
      * @param $area
285 286
      * @param $fighters
286
-     * @param $order
287
+     * @param integer $order
287 288
      * @param $round
288 289
      * @return FightersGroup
289 290
      */
Please login to merge, or discard this patch.
src/models/Fight.php 2 patches
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.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 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.