| @@ -252,8 +252,9 @@ discard block | ||
| 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 | ||
| 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 | */ | 
| @@ -46,7 +46,7 @@ | ||
| 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 | |