Skip to content

Commit b18142e

Browse files
author
Jeremiah VALERIE
committed
Fix Php CS
1 parent 3b7362e commit b18142e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/Functional/App/config/defaultValue/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ overblog_graphql:
1111
mappings:
1212
types:
1313
- type: yaml
14-
dir: "%kernel.root_dir%/config/defaultValue/mapping"
14+
dir: "%kernel.project_dir%/config/defaultValue/mapping"

tests/Functional/DefaultValue/DefaultValueTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
class 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

Comments
 (0)