@@ -218,7 +218,7 @@ |
||
218 | 218 | |
219 | 219 | /** |
220 | 220 | * @param Collection $tree |
221 | - * @param $settings |
|
221 | + * @param ChampionshipSettings $settings |
|
222 | 222 | */ |
223 | 223 | public static function generateFights(Collection $tree, $settings, Championship $championship = null) |
224 | 224 | { |
@@ -20,6 +20,9 @@ discard block |
||
20 | 20 | public $championship, $settings; |
21 | 21 | |
22 | 22 | |
23 | + /** |
|
24 | + * @param \Xoco70\KendoTournaments\Models\ChampionshipSettings $settings |
|
25 | + */ |
|
23 | 26 | public function __construct(Championship $championship, $groupBy, $settings) |
24 | 27 | { |
25 | 28 | $this->championship = $championship; |
@@ -257,7 +260,7 @@ discard block |
||
257 | 260 | |
258 | 261 | /** |
259 | 262 | * @param $userGroups |
260 | - * @param $max |
|
263 | + * @param integer $max |
|
261 | 264 | * @return Collection |
262 | 265 | */ |
263 | 266 | private function repart($userGroups, $max) |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | |
107 | 107 | /** |
108 | 108 | * Save a Fight. |
109 | - * @param $tree |
|
109 | + * @param Collection $tree |
|
110 | 110 | * @param int $numRound |
111 | 111 | */ |
112 | 112 | public static function saveFightRound($tree, $numRound = 1) |
@@ -166,6 +166,9 @@ discard block |
||
166 | 166 | // } |
167 | 167 | // } |
168 | 168 | |
169 | + /** |
|
170 | + * @param Collection $tree |
|
171 | + */ |
|
169 | 172 | public static function saveRoundRobinFights(Championship $championship, $tree) |
170 | 173 | { |
171 | 174 |