Skip to content

Commit 640a0a5

Browse files
committed
Document possible input.
1 parent 7abbdb6 commit 640a0a5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

webapp/src/Service/ImportProblemService.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,6 +1200,10 @@ public static function parseTestCaseGroupMeta(string $fileContent, string $name,
12001200
}
12011201

12021202
/**
1203+
* Allow to import the types both as arrays and as strings. Due
1204+
* to the recursion to make parsing of the strings easier this now
1205+
* also works for arrays inside arrays.
1206+
*
12031207
* @param string|array<mixed, mixed> $input
12041208
* @return string[]
12051209
*/

0 commit comments

Comments
 (0)