Completed
Push — master ( 547255...753a4f )
by Julien
11:37 queued 25s
created
src/TreeGen/TreeGen.php 1 patch
Doc Comments   +13 added lines, -7 removed lines patch added patch discarded remove patch
@@ -22,8 +22,14 @@  discard block
 block discarded – undo
22 22
     abstract protected function generateFights();
23 23
 
24 24
 
25
+    /**
26
+     * @param string|null $fighterToUpdate
27
+     */
25 28
     abstract protected function addFighterToGroup(FightersGroup $group, $fighter, $fighterToUpdate);
26 29
 
30
+    /**
31
+     * @return Collection
32
+     */
27 33
     abstract protected function getByeGroup($fighters);
28 34
 
29 35
     abstract protected function getNumRounds($fightersCount);
@@ -61,7 +67,7 @@  discard block
 block discarded – undo
61 67
     /**
62 68
      * Get the biggest entity group.
63 69
      *
64
-     * @param $userGroups
70
+     * @param Collection $userGroups
65 71
      *
66 72
      * @return int
67 73
      */
@@ -130,7 +136,7 @@  discard block
 block discarded – undo
130 136
     /**
131 137
      * Repart BYE in the tree,.
132 138
      *
133
-     * @param $fighterGroups
139
+     * @param Collection $fighterGroups
134 140
      * @param int $max
135 141
      *
136 142
      * @return Collection
@@ -288,7 +294,7 @@  discard block
 block discarded – undo
288 294
     /**
289 295
      * Attach a parent to every child for nestedSet Navigation.
290 296
      *
291
-     * @param $numFightersElim
297
+     * @param integer $numFightersElim
292 298
      */
293 299
     protected function addParentToChildren($numFightersElim)
294 300
     {
@@ -312,8 +318,8 @@  discard block
 block discarded – undo
312 318
 
313 319
     /**
314 320
      * @param Collection $fighters
315
-     * @param $frequency
316
-     * @param $sizeGroupBy
321
+     * @param integer $frequency
322
+     * @param integer $sizeGroupBy
317 323
      * @param $bye
318 324
      *
319 325
      * @return Collection
@@ -338,8 +344,8 @@  discard block
 block discarded – undo
338 344
     /**
339 345
      * @param $frequency
340 346
      * @param $sizeGroupBy
341
-     * @param $count
342
-     * @param $byeCount
347
+     * @param integer $count
348
+     * @param integer $byeCount
343 349
      *
344 350
      * @return bool
345 351
      */
Please login to merge, or discard this patch.