@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * Get the biggest entity group |
| 50 | - * @param $userGroups |
|
| 50 | + * @param Collection $userGroups |
|
| 51 | 51 | * |
| 52 | 52 | * @return int |
| 53 | 53 | */ |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | 106 | * Repart BYE in the tree, |
| 107 | - * @param $fighterGroups |
|
| 107 | + * @param Collection $fighterGroups |
|
| 108 | 108 | * @param int $max |
| 109 | 109 | * |
| 110 | 110 | * @return Collection |
@@ -185,9 +185,9 @@ discard block |
||
| 185 | 185 | } |
| 186 | 186 | |
| 187 | 187 | /** |
| 188 | - * @param $area |
|
| 189 | - * @param $order |
|
| 190 | - * @param $round |
|
| 188 | + * @param integer $area |
|
| 189 | + * @param integer $order |
|
| 190 | + * @param integer $round |
|
| 191 | 191 | * @param $parent |
| 192 | 192 | * @return FightersGroup |
| 193 | 193 | */ |
@@ -6,18 +6,12 @@ |
||
| 6 | 6 | use Illuminate\Http\Request; |
| 7 | 7 | use Illuminate\Routing\Controller; |
| 8 | 8 | use Illuminate\Support\Facades\DB; |
| 9 | -use Xoco70\KendoTournaments\Contracts\TreeGenerable; |
|
| 10 | 9 | use Xoco70\KendoTournaments\Exceptions\TreeGenerationException; |
| 11 | 10 | use Xoco70\KendoTournaments\Models\Championship; |
| 12 | 11 | use Xoco70\KendoTournaments\Models\ChampionshipSettings; |
| 13 | 12 | use Xoco70\KendoTournaments\Models\Competitor; |
| 14 | 13 | use Xoco70\KendoTournaments\Models\FightersGroup; |
| 15 | 14 | use Xoco70\KendoTournaments\Models\Tournament; |
| 16 | -use Xoco70\KendoTournaments\TreeGen\DirectEliminationCompetitorTreeGen; |
|
| 17 | -use Xoco70\KendoTournaments\TreeGen\DirectEliminationTeamTreeGen; |
|
| 18 | -use Xoco70\KendoTournaments\TreeGen\PlayOffCompetitorTreeGen; |
|
| 19 | -use Xoco70\KendoTournaments\TreeGen\PlayOffTeamTreeGen; |
|
| 20 | -use Xoco70\KendoTournaments\TreeGen\TreeGen; |
|
| 21 | 15 | |
| 22 | 16 | class TreeController extends Controller |
| 23 | 17 | { |