@@ -4,7 +4,6 @@ |
||
| 4 | 4 | namespace Xoco70\KendoTournaments\TreeGen; |
| 5 | 5 | |
| 6 | 6 | use Illuminate\Support\Collection; |
| 7 | -use Illuminate\Support\Facades\Config; |
|
| 8 | 7 | use Xoco70\KendoTournaments\Contracts\TreeGenerable; |
| 9 | 8 | use Xoco70\KendoTournaments\Exceptions\TreeGenerationException; |
| 10 | 9 | use Xoco70\KendoTournaments\Models\Championship; |
@@ -247,8 +247,8 @@ discard block |
||
| 247 | 247 | } |
| 248 | 248 | |
| 249 | 249 | /** |
| 250 | - * @param $usersByArea |
|
| 251 | - * @param $area |
|
| 250 | + * @param Collection $usersByArea |
|
| 251 | + * @param integer $area |
|
| 252 | 252 | * |
| 253 | 253 | * @return Collection |
| 254 | 254 | */ |
@@ -283,7 +283,7 @@ discard block |
||
| 283 | 283 | /** |
| 284 | 284 | * @param $area |
| 285 | 285 | * @param $fighters |
| 286 | - * @param $order |
|
| 286 | + * @param integer $order |
|
| 287 | 287 | * |
| 288 | 288 | * @return Round |
| 289 | 289 | */ |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | /** |
| 90 | 90 | * Save a Fight. |
| 91 | 91 | * |
| 92 | - * @param Collection $rounds |
|
| 92 | + * @param \Illuminate\Support\Collection $rounds |
|
| 93 | 93 | * @param int $numRound |
| 94 | 94 | */ |
| 95 | 95 | public static function savePreliminaryFightRound($rounds, $numRound = 1) |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | // } |
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | - * @param Collection $rounds |
|
| 159 | + * @param \Illuminate\Support\Collection $rounds |
|
| 160 | 160 | */ |
| 161 | 161 | public static function saveRoundRobinFights(Championship $championship, $rounds) |
| 162 | 162 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | - * @param $settings |
|
| 66 | + * @param ChampionshipSettings $settings |
|
| 67 | 67 | * @param Championship $championship |
| 68 | 68 | */ |
| 69 | 69 | public static function generateFights(Collection $rounds, $settings, Championship $championship = null) |