@@ -206,7 +206,7 @@ |
||
| 206 | 206 | |
| 207 | 207 | /** |
| 208 | 208 | * Return Groups that belongs to the round in param |
| 209 | - * @param $round |
|
| 209 | + * @param integer $round |
|
| 210 | 210 | * @return Collection |
| 211 | 211 | */ |
| 212 | 212 | public function groupsByRound($round) : Collection |
@@ -240,8 +240,9 @@ discard block |
||
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | /** |
| 243 | - * @param $usersByArea |
|
| 244 | - * @param $area |
|
| 243 | + * @param Collection $usersByArea |
|
| 244 | + * @param integer $area |
|
| 245 | + * @param integer $round |
|
| 245 | 246 | * |
| 246 | 247 | */ |
| 247 | 248 | public function generateGroupsForRound($usersByArea, $area, $round) |
@@ -335,6 +336,9 @@ discard block |
||
| 335 | 336 | : new Competitor(); |
| 336 | 337 | } |
| 337 | 338 | |
| 339 | + /** |
|
| 340 | + * @param integer $groupSize |
|
| 341 | + */ |
|
| 338 | 342 | public function createByeGroup($groupSize): Collection |
| 339 | 343 | { |
| 340 | 344 | $byeFighter = $this->createByeFighter(); |
@@ -347,7 +351,7 @@ discard block |
||
| 347 | 351 | |
| 348 | 352 | /** |
| 349 | 353 | * @param $fighters |
| 350 | - * @param $fighterGroups |
|
| 354 | + * @param Collection $fighterGroups |
|
| 351 | 355 | * @return Collection |
| 352 | 356 | */ |
| 353 | 357 | private function adjustFightersGroupWithByes($fighters, $fighterGroups): Collection |
@@ -385,7 +389,7 @@ discard block |
||
| 385 | 389 | * @param $roundNumber |
| 386 | 390 | * @param $numRounds |
| 387 | 391 | * @param $matchNumber |
| 388 | - * @param $previousRound |
|
| 392 | + * @param Collection|null $previousRound |
|
| 389 | 393 | * @return mixed |
| 390 | 394 | */ |
| 391 | 395 | private function getParentGroup($roundNumber, $numRounds = 0, $matchNumber, $previousRound) |
@@ -399,7 +403,7 @@ discard block |
||
| 399 | 403 | } |
| 400 | 404 | |
| 401 | 405 | /** |
| 402 | - * @param $numRounds |
|
| 406 | + * @param integer $numRounds |
|
| 403 | 407 | * @param $numFightersEliminatory |
| 404 | 408 | */ |
| 405 | 409 | private function pushGroups($numRounds, $numFightersEliminatory) |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | - $settings = $championship->getSettings(); |
|
| 2 | + $settings = $championship->getSettings(); |
|
| 3 | 3 | ?> |
| 4 | 4 | <div align="center"> |
| 5 | 5 | @if (Request::is('championships/'.$championship->id.'/pdf')) |