@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | namespace TheCodingMachine\GraphQL\Controllers; |
5 | 5 | |
6 | -use TheCodingMachine\GraphQL\Controllers\Registry\Registry; |
|
7 | 6 | use Youshido\GraphQL\Execution\ResolveInfo; |
8 | 7 | use Youshido\GraphQL\Field\AbstractField; |
9 | 8 | use Youshido\GraphQL\Type\AbstractType; |
@@ -28,6 +28,7 @@ |
||
28 | 28 | * @param TypeInterface[] $arguments Indexed by argument name. |
29 | 29 | * @param callable $resolve |
30 | 30 | * @param array $additionalConfig |
31 | + * @param string $comment |
|
31 | 32 | */ |
32 | 33 | public function __construct(string $name, TypeInterface $type, array $arguments, callable $resolve, HydratorInterface $hydrator, ?string $comment, array $additionalConfig = []) |
33 | 34 | { |
@@ -3,7 +3,6 @@ discard block |
||
3 | 3 | namespace TheCodingMachine\GraphQL\Controllers; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | -use PHPUnit\Framework\TestCase; |
|
7 | 6 | use TheCodingMachine\GraphQL\Controllers\Fixtures\TestController; |
8 | 7 | use TheCodingMachine\GraphQL\Controllers\Fixtures\TestObject; |
9 | 8 | use TheCodingMachine\GraphQL\Controllers\Fixtures\TestType; |
@@ -13,13 +12,11 @@ discard block |
||
13 | 12 | use Youshido\GraphQL\Type\InputObject\InputObjectType; |
14 | 13 | use Youshido\GraphQL\Type\ListType\ListType; |
15 | 14 | use Youshido\GraphQL\Type\NonNullType; |
16 | -use Youshido\GraphQL\Type\Object\ObjectType; |
|
17 | 15 | use Youshido\GraphQL\Type\Scalar\BooleanType; |
18 | 16 | use Youshido\GraphQL\Type\Scalar\DateTimeType; |
19 | 17 | use Youshido\GraphQL\Type\Scalar\FloatType; |
20 | 18 | use Youshido\GraphQL\Type\Scalar\IntType; |
21 | 19 | use Youshido\GraphQL\Type\Scalar\StringType; |
22 | -use Youshido\GraphQL\Type\TypeInterface; |
|
23 | 20 | use TheCodingMachine\GraphQL\Controllers\Annotations\Query; |
24 | 21 | |
25 | 22 | class ControllerQueryProviderTest extends AbstractQueryProviderTest |
@@ -71,6 +71,7 @@ |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * @param object $controller |
74 | + * @param ContainerInterface $container |
|
74 | 75 | */ |
75 | 76 | public function __construct($controller, Reader $annotationReader, TypeMapperInterface $typeMapper, HydratorInterface $hydrator, AuthenticationServiceInterface $authenticationService, AuthorizationServiceInterface $authorizationService, ?ContainerInterface $container = null) |
76 | 77 | { |