We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 501193b commit 35ca943Copy full SHA for 35ca943
tests/Config/Parser/fixtures/annotations/Type/Battle.php
@@ -26,6 +26,7 @@ final class Battle
26
*/
27
#[GQL\Field(name: 'casualties', complexity: 'childrenComplexity * 5')]
28
#[GQL\Arg(name: 'raceId', type: 'String!', description: 'A race ID')]
29
+ #[GQL\Arg(name: 'cases', type: '[String!]!')]
30
public function getCasualties(
31
int $areaId,
32
?string $raceId,
@@ -34,7 +35,8 @@ public function getCasualties(
34
35
string $nameStartingWith = '',
36
Planet $planet = null,
37
bool $away = false,
- float $maxDistance = null
38
+ float $maxDistance = null,
39
+ array $cases = []
40
): ?int {
41
return 12;
42
}
0 commit comments