Skip to content

Commit ff5341e

Browse files
committed
Increasing code coverage
1 parent 0359373 commit ff5341e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/Fixtures/TestController.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@
1313

1414
class TestController
1515
{
16+
/**
17+
* @Mutation
18+
* @param TestObject $testObject
19+
* @return TestObject
20+
*/
21+
public function mutation(TestObject $testObject): TestObject
22+
{
23+
return $testObject;
24+
}
25+
1626
/**
1727
* @Query
1828
* @param int $int
@@ -39,16 +49,6 @@ public function test(int $int, array $list, ?bool $boolean, ?float $float, ?\Dat
3949
return new TestObject($string.$int.$str.($boolean?'true':'false').$float.$dateTimeImmutable->format('YmdHis').$dateTime->format('YmdHis').$withDefault.($id !== null ? $id->val() : '').$enum->getValue());
4050
}
4151

42-
/**
43-
* @Mutation
44-
* @param TestObject $testObject
45-
* @return TestObject
46-
*/
47-
public function mutation(TestObject $testObject): TestObject
48-
{
49-
return $testObject;
50-
}
51-
5252
/**
5353
* @Query
5454
* @Logged

0 commit comments

Comments
 (0)