Completed
Push — 1.0 ( c47b78 )
by David
13:57
created
src/QueryField.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
tests/ControllerQueryProviderTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/ControllerQueryProvider.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -71,6 +71,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.