@@ -94,10 +94,10 @@ |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | - * $results = array ( |
|
98 | - * * team->id => team->score |
|
99 | - * ) |
|
100 | - */ |
|
97 | + * $results = array ( |
|
98 | + * * team->id => team->score |
|
99 | + * ) |
|
100 | + */ |
|
101 | 101 | public function setResults(array $results = []) { |
102 | 102 | if (count($this->results) === 0) $this->resetResults(); |
103 | 103 | arsort($results); |
@@ -14,20 +14,20 @@ |
||
14 | 14 | public $gamesWith = []; |
15 | 15 | |
16 | 16 | /** |
17 | - * ARRAY WITH GROUPS AND IT'S RESULTS |
|
18 | - * array ( |
|
19 | - * * groupId => array ( |
|
20 | - * * * "group" => Group, # GROUP OBJECT |
|
21 | - * * * "points" => int 0, # NUMBER OF POINTS AQUIRED |
|
22 | - * * * "score" => int 0, # SUM OF SCORE AQUIRED |
|
23 | - * * * "wins" => int 0, # NUMBER OF WINS |
|
24 | - * * * "draws" => int 0, # NUMBER OF DRAWS |
|
25 | - * * * "losses" => int 0, # NUMBER OF LOSSES |
|
26 | - * * * "second" => int 0, # NUMBER OF TIMES BEING SECOND (ONLY FOR INGAME OPTION OF 3 OR 4) |
|
27 | - * * * "third" => int 0 # NUMBER OF TIMES BEING THIRD (ONLY FOR INGAME OPTION OF 4) |
|
28 | - * * ) |
|
29 | - *) |
|
30 | - */ |
|
17 | + * ARRAY WITH GROUPS AND IT'S RESULTS |
|
18 | + * array ( |
|
19 | + * * groupId => array ( |
|
20 | + * * * "group" => Group, # GROUP OBJECT |
|
21 | + * * * "points" => int 0, # NUMBER OF POINTS AQUIRED |
|
22 | + * * * "score" => int 0, # SUM OF SCORE AQUIRED |
|
23 | + * * * "wins" => int 0, # NUMBER OF WINS |
|
24 | + * * * "draws" => int 0, # NUMBER OF DRAWS |
|
25 | + * * * "losses" => int 0, # NUMBER OF LOSSES |
|
26 | + * * * "second" => int 0, # NUMBER OF TIMES BEING SECOND (ONLY FOR INGAME OPTION OF 3 OR 4) |
|
27 | + * * * "third" => int 0 # NUMBER OF TIMES BEING THIRD (ONLY FOR INGAME OPTION OF 4) |
|
28 | + * * ) |
|
29 | + *) |
|
30 | + */ |
|
31 | 31 | public $groupResults = []; |
32 | 32 | |
33 | 33 | function __construct(string $name = 'team') { |