File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
tests/Config/Parser/fixtures/annotations/Type Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,11 @@ final class Battle
2323 * @GQL\Field(name="casualties", complexity="childrenComplexity * 5")
2424 *
2525 * @GQL\Arg(name="raceId", type="String!", description="A race ID")
26+ * @GQL\Arg(name="cases", type="[String!]!")
2627 */
2728 #[GQL \Field(name: 'casualties ' , complexity: 'childrenComplexity * 5 ' )]
2829 #[GQL \Arg(name: 'raceId ' , type: 'String! ' , description: 'A race ID ' )]
30+ #[GQL \Arg(name: 'cases ' , type: '[String!]! ' )]
2931 public function getCasualties (
3032 int $ areaId ,
3133 ?string $ raceId ,
@@ -34,7 +36,8 @@ public function getCasualties(
3436 string $ nameStartingWith = '' ,
3537 Planet $ planet = null ,
3638 bool $ away = false ,
37- float $ maxDistance = null
39+ float $ maxDistance = null ,
40+ array $ cases = []
3841 ): ?int {
3942 return 12 ;
4043 }
You can’t perform that action at this time.
0 commit comments