Skip to content

Commit

Permalink
The externalid should be string|null
Browse files Browse the repository at this point in the history
In practice we would only get that in case that we shadow a shadow.
  • Loading branch information
vmcj committed Feb 11, 2024
1 parent 03fb283 commit 177f665
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/src/Service/ExternalContestSourceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ protected function loadContest(): void
* id: string, judgement_id?: string, judgement_type_id: string|null,
* max_run_time?: float|null, start_time: string, start_contest_time?: string,
* end_time?: string|null, end_contest_time?: string|null, submission_id: string,
* output_compile_as_string: null, language_id?: string, externalid?: null,
* output_compile_as_string: null, language_id?: string, externalid?: string|null,
* team_id: string, problem_id?: string, entry_point?: string|null, old_result?: null,
* files?: array{href: string}}|mixed[]
* } $event
Expand Down Expand Up @@ -1864,7 +1864,7 @@ protected function processPendingEvents(string $type, string|int $id): void
* id: string, judgement_id?: string, judgement_type_id?: string|null,
* max_run_time?: float|null, start_time?: string, start_contest_time?: string,
* end_time?: string|null, end_contest_time?: string|null, submission_id?: string,
* output_compile_as_string?: null, language_id?: string, externalid?: null,
* output_compile_as_string?: string|null, language_id?: string, externalid?: string|null,
* team_id?: string, problem_id?: string, entry_point?: string|null, old_result?: null,
* files?: array<array{href: string, filename: string, mime?: string}>} $data
*/
Expand Down Expand Up @@ -2102,7 +2102,7 @@ protected function removeWarning(string $entityType, ?string $entityId, string $
* id: string, judgement_id?: string, judgement_type_id: string|null,
* max_run_time?: float|null, start_time: string, start_contest_time?: string,
* end_time?: string|null, end_contest_time?: string|null, submission_id?: string,
* output_compile_as_string: null, language_id?: string, externalid?: null,
* output_compile_as_string: null, language_id?: string, externalid?: string|null,
* team_id: string, problem_id?: string, entry_point?: string|null, old_result?: null,
* files?: array{href: string}}|mixed[]
* } $event
Expand Down

0 comments on commit 177f665

Please sign in to comment.