Code Duplication    Length = 5-5 lines in 2 locations

src/Type/AbstractInputObjectType.php 1 location

@@ 51-55 (lines=5) @@
48
                'fields' => function () {
49
                    return $this->resolveFields();
50
                },
51
                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
52
                    $resolver = new ObjectFieldResolver($this->container, $this->manager, $this->definition);
53
54
                    return $resolver($root, $args, $context, $resolveInfo);
55
                },
56
            ]
57
        );
58
    }

src/Type/AbstractObjectType.php 1 location

@@ 53-57 (lines=5) @@
50
                'interfaces' => function () {
51
                    return $this->resolveInterfaces();
52
                },
53
                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
54
                    $resolver = new ObjectFieldResolver($this->container, $this->manager, $this->definition);
55
56
                    return $resolver($root, $args, $context, $resolveInfo);
57
                },
58
                'isTypeOf' => function ($value, $context, ResolveInfo $info) {
59
                    //TODO: implement this
60
                },