66
77class DefaultValueTest extends TestCase
88{
9- protected function setUp ()
9+ protected function setUp (): void
1010 {
1111 static ::bootKernel (['test_case ' => 'defaultValue ' ]);
1212 }
1313
14- public function testArgDefaultValue ()
14+ public function testArgDefaultValue (): void
1515 {
1616 $ query = 'mutation { echo } ' ;
1717
@@ -21,7 +21,7 @@ public function testArgDefaultValue()
2121 $ this ->assertSame ('foo ' , $ result ['data ' ]['echo ' ]);
2222 }
2323
24- public function testNullableDefaultValue ()
24+ public function testNullableDefaultValue (): void
2525 {
2626 $ query = 'mutation { isStringNull } ' ;
2727
@@ -31,7 +31,7 @@ public function testNullableDefaultValue()
3131 $ this ->assertTrue ($ result ['data ' ]['isStringNull ' ]);
3232 }
3333
34- public function testArgDefaultValueWithInput ()
34+ public function testArgDefaultValueWithInput (): void
3535 {
3636 $ query = 'mutation { echoUsingInput(input: {}) } ' ;
3737
@@ -41,7 +41,7 @@ public function testArgDefaultValueWithInput()
4141 $ this ->assertSame ('foo ' , $ result ['data ' ]['echoUsingInput ' ]);
4242 }
4343
44- public function testNullableDefaultValueWithInput ()
44+ public function testNullableDefaultValueWithInput (): void
4545 {
4646 $ query = 'mutation { isStringNullUsingInput(input: {}) } ' ;
4747
@@ -51,7 +51,7 @@ public function testNullableDefaultValueWithInput()
5151 $ this ->assertTrue ($ result ['data ' ]['isStringNullUsingInput ' ]);
5252 }
5353
54- public function testArgDefaultValueArgWithInput ()
54+ public function testArgDefaultValueArgWithInput (): void
5555 {
5656 $ query = 'mutation { echoUsingInputWithDefaultArg } ' ;
5757
0 commit comments