Completed
Push — master ( f44b67...3d21e8 )
by Alexandr
03:27
created
Tests/Library/Type/InputObjectTypeTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 'fields' => [
54 54
                     'empty' => [
55 55
                         'type'    => new StringType(),
56
-                        'resolve' => function () {
56
+                        'resolve' => function() {
57 57
                             return null;
58 58
                         }
59 59
                     ]
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                             ]))
73 73
                         ],
74 74
                         'type'    => new BooleanType(),
75
-                        'resolve' => function ($object, $args) {
75
+                        'resolve' => function($object, $args) {
76 76
                             return true;
77 77
                         }
78 78
                     ]
@@ -98,14 +98,14 @@  discard block
 block discarded – undo
98 98
         );
99 99
     }
100 100
 
101
-    public function testNullableInputWithNonNull(){
101
+    public function testNullableInputWithNonNull() {
102 102
         $processor = new Processor(new Schema([
103 103
             'query'    => new ObjectType([
104 104
                 'name'   => 'RootQuery',
105 105
                 'fields' => [
106 106
                     'empty' => [
107 107
                         'type'    => new StringType(),
108
-                        'resolve' => function () {
108
+                        'resolve' => function() {
109 109
                             return null;
110 110
                         }
111 111
                     ]
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
                             ])
125 125
                         ],
126 126
                         'type'    => new BooleanType(),
127
-                        'resolve' => function ($object, $args) {
127
+                        'resolve' => function($object, $args) {
128 128
                             return true;
129 129
                         }
130 130
                     ]
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                 'fields' => [
149 149
                     'empty' => [
150 150
                         'type'    => new StringType(),
151
-                        'resolve' => function () {
151
+                        'resolve' => function() {
152 152
                         }
153 153
                     ],
154 154
                 ]
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
                                 ]
172 172
                             ])
173 173
                         ],
174
-                        'resolve' => function () {
174
+                        'resolve' => function() {
175 175
                             return 'success message';
176 176
                         }
177 177
                     ]
Please login to merge, or discard this patch.