@@ -62,7 +62,7 @@ |
||
| 62 | 62 | |
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | - * @param $settings |
|
| 65 | + * @param ChampionshipSettings $settings |
|
| 66 | 66 | * @param Championship $championship |
| 67 | 67 | */ |
| 68 | 68 | public static function generateFights(Collection $rounds, $settings, Championship $championship = null) |
@@ -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; |
@@ -242,8 +242,8 @@ discard block |
||
| 242 | 242 | } |
| 243 | 243 | |
| 244 | 244 | /** |
| 245 | - * @param $usersByArea |
|
| 246 | - * @param $area |
|
| 245 | + * @param Collection $usersByArea |
|
| 246 | + * @param integer $area |
|
| 247 | 247 | * @return Collection |
| 248 | 248 | */ |
| 249 | 249 | public function generateAllRounds($usersByArea, $area) |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | /** |
| 278 | 278 | * @param $area |
| 279 | 279 | * @param $fighters |
| 280 | - * @param $order |
|
| 280 | + * @param integer $order |
|
| 281 | 281 | * @return Round |
| 282 | 282 | */ |
| 283 | 283 | public function saveRound($area, $fighters, $order) |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | |
| 87 | 87 | /** |
| 88 | 88 | * Save a Fight. |
| 89 | - * @param Collection $rounds |
|
| 89 | + * @param \Illuminate\Support\Collection $rounds |
|
| 90 | 90 | * @param int $numRound |
| 91 | 91 | */ |
| 92 | 92 | public static function savePreliminaryFightRound($rounds, $numRound = 1) |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | // } |
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | - * @param Collection $rounds |
|
| 158 | + * @param \Illuminate\Support\Collection $rounds |
|
| 159 | 159 | */ |
| 160 | 160 | public static function saveRoundRobinFights(Championship $championship, $rounds) |
| 161 | 161 | { |