Skip to content

Commit 648b46d

Browse files
Add array shape for result row
1 parent bb5f12b commit 648b46d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

webapp/src/DataTransferObject/ResultRow.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ public function __construct(
1414
public readonly ?string $groupWinner = null,
1515
) {}
1616

17+
/**
18+
* @return array{
19+
* team_id: string,
20+
* rank: int|null,
21+
* award: string,
22+
* num_solved: int,
23+
* total_time: int,
24+
* time_of_last_submission: int,
25+
* group_winner: string|null,
26+
* }
27+
*/
1728
public function toArray(): array
1829
{
1930
return [

0 commit comments

Comments
 (0)