@@ -641,8 +641,8 @@ protected function importGroupsTsv(array $content, ?string &$message = null): in
641
641
/**
642
642
* Import groups JSON
643
643
*
644
- * @param array<array{id: string, icpc_id: string, name: string, sortorder?: int,
645
- * color?: string, hidden?: true , allow_self_registration?: bool}> $data
644
+ * @param array<array{id? : string, icpc_id: string, name: string, sortorder?: int,
645
+ * color?: string, hidden?: bool , allow_self_registration?: bool}> $data
646
646
* @param TeamCategory[]|null $saved The saved groups
647
647
*/
648
648
public function importGroupsJson (array $ data , ?string &$ message = null , ?array &$ saved = null ): int
@@ -732,7 +732,7 @@ protected function importGroupData(array $groupData, ?array &$saved = null): int
732
732
* Import organizations JSON.
733
733
*
734
734
* @param array<array{shortname?: string, short_name?: string, short-name?: string, id: string, icpc_id?: string, name: string, formal_name?: string,
735
- * country: string, logo: array{href: string, mime: string, hash: string,
735
+ * country: string, logo? : array{href: string, mime: string, hash: string,
736
736
* filename: string, width: string|int, height: string|int}}> $data
737
737
* @param TeamAffiliation[]|null $saved The saved groups
738
738
*/
0 commit comments