Completed
Push — master ( da1622...d3aaf0 )
by Alexandr
02:54
created
Tests/Library/Validator/RequestValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
                             new Argument('test2', new VariableReference('test2', $variable2, new Location(1, 1)), new Location(1, 1)),
112 112
                         ], [
113 113
                             new Field('test', null, [], new Location(1, 1))
114
-                        ], new Location(1,1))
114
+                        ], new Location(1, 1))
115 115
                     ],
116 116
                     'variables'          => [
117 117
                         $variable1,
Please login to merge, or discard this patch.
Tests/Schema/FragmentsTest.php 2 patches
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,14 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Youshido\Tests\Schema;
4 4
 
5
-use Youshido\GraphQL\Config\Object\InterfaceTypeConfig;
6
-use Youshido\GraphQL\Config\Object\ObjectTypeConfig;
7 5
 use Youshido\GraphQL\Execution\Processor;
8 6
 use Youshido\GraphQL\Schema\Schema;
9 7
 use Youshido\GraphQL\Type\InterfaceType\AbstractInterfaceType;
10
-use Youshido\GraphQL\Type\InterfaceType\InterfaceType;
11 8
 use Youshido\GraphQL\Type\ListType\ListType;
12
-use Youshido\GraphQL\Type\NonNullType;
13 9
 use Youshido\GraphQL\Type\Object\AbstractObjectType;
14 10
 use Youshido\GraphQL\Type\Object\ObjectType;
15 11
 use Youshido\GraphQL\Type\Scalar\IdType;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
                 'fields' => [
104 104
                     'user' => [
105 105
                         'type'    => new UserType(),
106
-                        'resolve' => function ($args) {
106
+                        'resolve' => function($args) {
107 107
                             return [
108 108
                                 'id'           => 'user-id-1',
109 109
                                 'fullName'     => 'Alex',
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
                 'fields' => [
218 218
                     'user' => [
219 219
                         'type'    => new UserType(),
220
-                        'resolve' => function ($args) {
220
+                        'resolve' => function($args) {
221 221
                             return [
222 222
                                 'id'       => 'user-id-1',
223 223
                                 'fullName' => 'Alex',
Please login to merge, or discard this patch.
Tests/Schema/NonNullableTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,13 +48,13 @@  discard block
 block discarded – undo
48 48
                 'fields' => [
49 49
                     'nonNullScalar'        => [
50 50
                         'type'    => new NonNullType(new IntType()),
51
-                        'resolve' => function () {
51
+                        'resolve' => function() {
52 52
                             return null;
53 53
                         },
54 54
                     ],
55 55
                     'nonNullList'          => [
56 56
                         'type'    => new NonNullType(new ListType(new IntType())),
57
-                        'resolve' => function () {
57
+                        'resolve' => function() {
58 58
                             return null;
59 59
                         }
60 60
                     ],
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
                                 'name' => new StringType(),
67 67
                             ]
68 68
                         ])),
69
-                        'resolve' => function () {
69
+                        'resolve' => function() {
70 70
                             return [
71 71
                                 'id'   => new uid('6cfb044c-9c0a-4ddd-9ef8-a0b940818db3'),
72 72
                                 'name' => 'Alex'
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
                     ],
76 76
                     'nonNullListOfNpnNull' => [
77 77
                         'type'    => new NonNullType(new ListType(new NonNullType(new IntType()))),
78
-                        'resolve' => function () {
78
+                        'resolve' => function() {
79 79
                             return [1, null];
80 80
                         }
81 81
                     ],
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                             'ids' => new NonNullType(new ListType(new IntType()))
85 85
                         ],
86 86
                         'type'    => new IntType(),
87
-                        'resolve' => function () {
87
+                        'resolve' => function() {
88 88
                             return 1;
89 89
                         }
90 90
                     ],
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                             'ids' => new NonNullType(new ListType(new NonNullType(new IntType())))
94 94
                         ],
95 95
                         'type'    => new IntType(),
96
-                        'resolve' => function () {
96
+                        'resolve' => function() {
97 97
                             return 1;
98 98
                         }
99 99
                     ],
Please login to merge, or discard this patch.