@@ -16,20 +16,20 @@ |
||
16 | 16 | public $sumScore = 0; |
17 | 17 | |
18 | 18 | /** |
19 | - * ARRAY WITH GROUPS AND IT'S RESULTS |
|
20 | - * array ( |
|
21 | - * * groupId => array ( |
|
22 | - * * * "group" => Group, # GROUP OBJECT |
|
23 | - * * * "points" => int 0, # NUMBER OF POINTS AQUIRED |
|
24 | - * * * "score" => int 0, # SUM OF SCORE AQUIRED |
|
25 | - * * * "wins" => int 0, # NUMBER OF WINS |
|
26 | - * * * "draws" => int 0, # NUMBER OF DRAWS |
|
27 | - * * * "losses" => int 0, # NUMBER OF LOSSES |
|
28 | - * * * "second" => int 0, # NUMBER OF TIMES BEING SECOND (ONLY FOR INGAME OPTION OF 3 OR 4) |
|
29 | - * * * "third" => int 0 # NUMBER OF TIMES BEING THIRD (ONLY FOR INGAME OPTION OF 4) |
|
30 | - * * ) |
|
31 | - *) |
|
32 | - */ |
|
19 | + * ARRAY WITH GROUPS AND IT'S RESULTS |
|
20 | + * array ( |
|
21 | + * * groupId => array ( |
|
22 | + * * * "group" => Group, # GROUP OBJECT |
|
23 | + * * * "points" => int 0, # NUMBER OF POINTS AQUIRED |
|
24 | + * * * "score" => int 0, # SUM OF SCORE AQUIRED |
|
25 | + * * * "wins" => int 0, # NUMBER OF WINS |
|
26 | + * * * "draws" => int 0, # NUMBER OF DRAWS |
|
27 | + * * * "losses" => int 0, # NUMBER OF LOSSES |
|
28 | + * * * "second" => int 0, # NUMBER OF TIMES BEING SECOND (ONLY FOR INGAME OPTION OF 3 OR 4) |
|
29 | + * * * "third" => int 0 # NUMBER OF TIMES BEING THIRD (ONLY FOR INGAME OPTION OF 4) |
|
30 | + * * ) |
|
31 | + *) |
|
32 | + */ |
|
33 | 33 | public $groupResults = []; |
34 | 34 | |
35 | 35 | function __construct(string $name = 'team', $id = null) { |
@@ -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); |