@@ -64,7 +64,7 @@ |
||
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * @param Collection $fightersGroup |
| 67 | - * @param $settings |
|
| 67 | + * @param ChampionshipSettings $settings |
|
| 68 | 68 | */ |
| 69 | 69 | public static function generateFights(Collection $fightersGroup, $settings, Championship $championship = null) |
| 70 | 70 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Xoco70\KendoTournaments\TreeGen; |
| 4 | 4 | |
| 5 | -use App\User; |
|
| 6 | 5 | use Illuminate\Support\Collection; |
| 7 | 6 | use Xoco70\KendoTournaments\Contracts\TreeGenerable; |
| 8 | 7 | use Xoco70\KendoTournaments\Exceptions\TreeGenerationException; |
@@ -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 $fighters |
| 285 | 286 | * @param $area |
| 286 | - * @param $order |
|
| 287 | + * @param integer $order |
|
| 287 | 288 | * @param $round |
| 288 | 289 | * @return FightersGroup |
| 289 | 290 | */ |
@@ -351,6 +352,9 @@ discard block |
||
| 351 | 352 | : new Competitor(); |
| 352 | 353 | } |
| 353 | 354 | |
| 355 | + /** |
|
| 356 | + * @param integer $groupSize |
|
| 357 | + */ |
|
| 354 | 358 | public function createByeGroup($groupSize): Collection |
| 355 | 359 | { |
| 356 | 360 | $byeFighter = $this->createByeFighter(); |