Skip to content

Commit

Permalink
Fix Php CS
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg-web committed May 4, 2021
1 parent 3b7362e commit b18142e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/Functional/App/config/defaultValue/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ overblog_graphql:
mappings:
types:
- type: yaml
dir: "%kernel.root_dir%/config/defaultValue/mapping"
dir: "%kernel.project_dir%/config/defaultValue/mapping"
12 changes: 6 additions & 6 deletions tests/Functional/DefaultValue/DefaultValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

class DefaultValueTest extends TestCase
{
protected function setUp()
protected function setUp(): void
{
static::bootKernel(['test_case' => 'defaultValue']);
}

public function testArgDefaultValue()
public function testArgDefaultValue(): void
{
$query = 'mutation { echo }';

Expand All @@ -21,7 +21,7 @@ public function testArgDefaultValue()
$this->assertSame('foo', $result['data']['echo']);
}

public function testNullableDefaultValue()
public function testNullableDefaultValue(): void
{
$query = 'mutation { isStringNull }';

Expand All @@ -31,7 +31,7 @@ public function testNullableDefaultValue()
$this->assertTrue($result['data']['isStringNull']);
}

public function testArgDefaultValueWithInput()
public function testArgDefaultValueWithInput(): void
{
$query = 'mutation { echoUsingInput(input: {}) }';

Expand All @@ -41,7 +41,7 @@ public function testArgDefaultValueWithInput()
$this->assertSame('foo', $result['data']['echoUsingInput']);
}

public function testNullableDefaultValueWithInput()
public function testNullableDefaultValueWithInput(): void
{
$query = 'mutation { isStringNullUsingInput(input: {}) }';

Expand All @@ -51,7 +51,7 @@ public function testNullableDefaultValueWithInput()
$this->assertTrue($result['data']['isStringNullUsingInput']);
}

public function testArgDefaultValueArgWithInput()
public function testArgDefaultValueArgWithInput(): void
{
$query = 'mutation { echoUsingInputWithDefaultArg }';

Expand Down

0 comments on commit b18142e

Please sign in to comment.