@@ -19,6 +19,9 @@ discard block |
||
19 | 19 | public $championship, $settings; |
20 | 20 | |
21 | 21 | |
22 | + /** |
|
23 | + * @param \Xoco70\KendoTournaments\Models\ChampionshipSettings $settings |
|
24 | + */ |
|
22 | 25 | public function __construct(Championship $championship, $groupBy, $settings) |
23 | 26 | { |
24 | 27 | $this->championship = $championship; |
@@ -179,7 +182,7 @@ discard block |
||
179 | 182 | |
180 | 183 | /** |
181 | 184 | * @param $fighterGroups |
182 | - * @param $max |
|
185 | + * @param integer $max |
|
183 | 186 | * @return Collection |
184 | 187 | */ |
185 | 188 | private function repart($fighterGroups, $max) |
@@ -239,8 +242,8 @@ discard block |
||
239 | 242 | } |
240 | 243 | |
241 | 244 | /** |
242 | - * @param $usersByArea |
|
243 | - * @param $area |
|
245 | + * @param Collection $usersByArea |
|
246 | + * @param integer $area |
|
244 | 247 | * @return Collection |
245 | 248 | */ |
246 | 249 | public function generateAllRounds($usersByArea, $area) |
@@ -274,7 +277,7 @@ discard block |
||
274 | 277 | /** |
275 | 278 | * @param $area |
276 | 279 | * @param $fighters |
277 | - * @param $order |
|
280 | + * @param integer $order |
|
278 | 281 | * @return Round |
279 | 282 | */ |
280 | 283 | public function saveRound($area, $fighters, $order) |
@@ -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; |