diff --git a/tests/Config/Parser/fixtures/annotations/Type/Battle.php b/tests/Config/Parser/fixtures/annotations/Type/Battle.php index 30be8b833..ee43a764f 100644 --- a/tests/Config/Parser/fixtures/annotations/Type/Battle.php +++ b/tests/Config/Parser/fixtures/annotations/Type/Battle.php @@ -23,9 +23,11 @@ final class Battle * @GQL\Field(name="casualties", complexity="childrenComplexity * 5") * * @GQL\Arg(name="raceId", type="String!", description="A race ID") + * @GQL\Arg(name="cases", type="[String!]!") */ #[GQL\Field(name: 'casualties', complexity: 'childrenComplexity * 5')] #[GQL\Arg(name: 'raceId', type: 'String!', description: 'A race ID')] + #[GQL\Arg(name: 'cases', type: '[String!]!')] public function getCasualties( int $areaId, ?string $raceId, @@ -34,7 +36,8 @@ public function getCasualties( string $nameStartingWith = '', Planet $planet = null, bool $away = false, - float $maxDistance = null + float $maxDistance = null, + array $cases = [] ): ?int { return 12; }