Completed
Push — master ( 982da4...e066f4 )
by Alexandr
02:57
created
Tests/Library/Type/InputObjectTypeTest.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
                 'fields' => [
56 56
                     'empty' => [
57 57
                         'type'    => new StringType(),
58
-                        'resolve' => function () {
58
+                        'resolve' => function() {
59 59
                             return null;
60 60
                         }
61 61
                     ]
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                             ]))
75 75
                         ],
76 76
                         'type'    => new BooleanType(),
77
-                        'resolve' => function ($object, $args) {
77
+                        'resolve' => function($object, $args) {
78 78
                             return true;
79 79
                         }
80 80
                     ]
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                 'fields' => [
109 109
                     'empty' => [
110 110
                         'type'    => new StringType(),
111
-                        'resolve' => function () {
111
+                        'resolve' => function() {
112 112
                             return null;
113 113
                         }
114 114
                     ]
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
                             ])
128 128
                         ],
129 129
                         'type'    => new BooleanType(),
130
-                        'resolve' => function ($object, $args) {
130
+                        'resolve' => function($object, $args) {
131 131
                             return true;
132 132
                         }
133 133
                     ]
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
                 'fields' => [
152 152
                     'empty' => [
153 153
                         'type'    => new StringType(),
154
-                        'resolve' => function () {
154
+                        'resolve' => function() {
155 155
                         }
156 156
                     ],
157 157
                 ]
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
                                 ]
175 175
                             ])
176 176
                         ],
177
-                        'resolve' => function () {
177
+                        'resolve' => function() {
178 178
                             return 'success message';
179 179
                         }
180 180
                     ]
@@ -223,10 +223,10 @@  discard block
 block discarded – undo
223 223
                                 ],
224 224
                             ],
225 225
                         ],
226
-                        'resolve' => function ($source, $args) {
226
+                        'resolve' => function($source, $args) {
227 227
                             return [
228
-                                'limit is ' . $args['paging']['limit'],
229
-                                'offset is ' . $args['paging']['offset'],
228
+                                'limit is '.$args['paging']['limit'],
229
+                                'offset is '.$args['paging']['offset'],
230 230
                             ];
231 231
                         }
232 232
                     ],
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
                                 ]
271 271
                             ]),
272 272
                         ],
273
-                        'resolve' => function ($source, $args) {
273
+                        'resolve' => function($source, $args) {
274 274
                             return sprintf('%s by %s', $args['title'], $args['userId']);
275 275
                         }
276 276
                     ],
Please login to merge, or discard this patch.