Completed
Push — master ( 786636...6c7957 )
by Alexandr
03:01
created
src/Introspection/SchemaType.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 use Youshido\GraphQL\Schema\AbstractSchema;
13 13
 use Youshido\GraphQL\Type\ListType\ListType;
14 14
 use Youshido\GraphQL\Type\Object\AbstractObjectType;
15
-use Youshido\GraphQL\Type\Object\ObjectType;
16
-use Youshido\GraphQL\Type\TypeMap;
17 15
 
18 16
 class SchemaType extends AbstractObjectType
19 17
 {
Please login to merge, or discard this patch.
Tests/Library/Type/InputObjectTypeTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 
12 12
 use Youshido\GraphQL\Execution\Processor;
13
-use Youshido\GraphQL\Parser\Ast\ArgumentValue\InputObject;
14 13
 use Youshido\GraphQL\Schema\Schema;
15 14
 use Youshido\GraphQL\Type\InputObject\InputObjectType;
16 15
 use Youshido\GraphQL\Type\ListType\ListType;
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -87,14 +87,14 @@  discard block
 block discarded – undo
87 87
             [
88 88
                 'data'   => ['createList' => null],
89 89
                 'errors' => [[
90
-                                 'message'   => 'Not valid type for argument "posts" in query "createList"',
91
-                                 'locations' => [
92
-                                     [
93
-                                         'line'   => 1,
94
-                                         'column' => 23
95
-                                     ]
96
-                                 ]
97
-                             ]]
90
+                                    'message'   => 'Not valid type for argument "posts" in query "createList"',
91
+                                    'locations' => [
92
+                                        [
93
+                                            'line'   => 1,
94
+                                            'column' => 23
95
+                                        ]
96
+                                    ]
97
+                                ]]
98 98
             ],
99 99
             $processor->getResponseData()
100 100
         );
@@ -185,14 +185,14 @@  discard block
 block discarded – undo
185 185
         $this->assertEquals([
186 186
             'data'   => ['createList' => null],
187 187
             'errors' => [[
188
-                             'message'   => 'Not valid type for argument "topArgument" in query "createList"',
189
-                             'locations' => [
190
-                                 [
191
-                                     'line'   => 1,
192
-                                     'column' => 23
193
-                                 ]
194
-                             ]
195
-                         ]],
188
+                                'message'   => 'Not valid type for argument "topArgument" in query "createList"',
189
+                                'locations' => [
190
+                                    [
191
+                                        'line'   => 1,
192
+                                        'column' => 23
193
+                                    ]
194
+                                ]
195
+                            ]],
196 196
         ], $processor->getResponseData());
197 197
         $processor->getExecutionContext()->clearErrors();
198 198
         $processor->processPayload('mutation { createList(topArgument:{
Please login to merge, or discard this patch.