Test Failed
Push — master ( 761758...65c987 )
by
unknown
07:29
created
src/DataLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public function __invoke($batchLoadFunction, $defaultResolveValue = null)
18 18
     {
19
-        if (! $batchLoadFunction instanceof Closure) {
19
+        if (!$batchLoadFunction instanceof Closure) {
20 20
             $batchLoadFunction = Closure::fromCallable($batchLoadFunction);
21 21
         }
22 22
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
             private function scheduleResolveIfNeeded()
61 61
             {
62
-                if (! $this->needsResolving) {
62
+                if (!$this->needsResolving) {
63 63
                     Loop::defer(Closure::fromCallable([$this, 'resolve']));
64 64
                     $this->needsResolving = true;
65 65
                 }
Please login to merge, or discard this patch.
src/Concerns/AssertsPromises.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
 
26 26
         try {
27 27
             $result = null;
28
-            Loop::run(function () use (&$result, $promise) {
29
-                $result = yield call(function () use ($promise) {
28
+            Loop::run(function() use (&$result, $promise) {
29
+                $result = yield call(function() use ($promise) {
30 30
                     return $promise;
31 31
                 });
32 32
             });
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             return;
40 40
         }
41 41
 
42
-        if (! is_null($expectedValue)) {
42
+        if (!is_null($expectedValue)) {
43 43
             $this->assertSame(
44 44
                 $expectedValue,
45 45
                 $result,
Please login to merge, or discard this patch.
src/Concerns/HandlesGraphqlRequests.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                 $operationName,
69 69
                 [$this, 'resolveField'],
70 70
                 null // validationRules
71
-            )->then(function ($value) use (&$result) {
71
+            )->then(function($value) use (&$result) {
72 72
                 $result = $value;
73 73
             });
74 74
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
             ?? $this->fieldFromArray($source, $args, $context, $info)
167 167
             ?? $this->fieldFromObject($source, $args, $context, $info);
168 168
 
169
-        return call(static function () use ($field, $source, $args, $context, $info) {
169
+        return call(static function() use ($field, $source, $args, $context, $info) {
170 170
             return $field instanceof \Closure
171 171
                 ? $field($source, $args, $context, $info)
172 172
                 : $field;
@@ -197,10 +197,10 @@  discard block
 block discarded – undo
197 197
     {
198 198
         if (is_array($source) || $source instanceof \ArrayAccess) {
199 199
             return collect($this->propertyNames($info))
200
-                ->map(function ($propertyName) use ($source) {
200
+                ->map(function($propertyName) use ($source) {
201 201
                     return $source[$propertyName] ?? null;
202 202
                 })
203
-                ->reject(function ($value) {
203
+                ->reject(function($value) {
204 204
                     return is_null($value);
205 205
                 })
206 206
                 ->first();
@@ -211,10 +211,10 @@  discard block
 block discarded – undo
211 211
     {
212 212
         if (is_object($source)) {
213 213
             return collect($this->propertyNames($info))
214
-                ->map(function ($propertyName) use ($source) {
214
+                ->map(function($propertyName) use ($source) {
215 215
                     return $source->{$propertyName} ?? null;
216 216
                 })
217
-                ->reject(function ($value) {
217
+                ->reject(function($value) {
218 218
                     return is_null($value);
219 219
                 })
220 220
                 ->first();
Please login to merge, or discard this patch.