Passed
Pull Request — master (#131)
by Quang
02:16
created
src/Execution/ExecutionStrategy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
         if ($isContainsPromise) {
252 252
             $keys    = array_keys($finalResults);
253 253
             $promise = \React\Promise\all(array_values($finalResults));
254
-            $promise->then(function ($values) use ($keys, &$finalResults) {
254
+            $promise->then(function($values) use ($keys, &$finalResults) {
255 255
                 foreach ($values as $i => $value) {
256 256
                     $finalResults[$keys[$i]] = $value;
257 257
                 }
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
     ) {
532 532
         if ($this->isPromise($result)) {
533 533
             /** @var ExtendedPromiseInterface $result */
534
-            return $result->then(function (&$value) use ($returnType, $fieldNodes, $info, $path) {
534
+            return $result->then(function(&$value) use ($returnType, $fieldNodes, $info, $path) {
535 535
                 return $this->completeValue($returnType, $fieldNodes, $info, $path, $value);
536 536
             });
537 537
         }
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
 
620 620
         if ($this->isPromise($runtimeType)) {
621 621
             /** @var PromiseInterface $runtimeType */
622
-            return $runtimeType->then(function ($resolvedRuntimeType) use (
622
+            return $runtimeType->then(function($resolvedRuntimeType) use (
623 623
                 $returnType,
624 624
                 $fieldNodes,
625 625
                 $info,
@@ -736,7 +736,7 @@  discard block
 block discarded – undo
736 736
 
737 737
         if (!empty($promisedIsTypeOfResults)) {
738 738
             return \React\Promise\all($promisedIsTypeOfResults)
739
-                ->then(function ($isTypeOfResults) use ($possibleTypes) {
739
+                ->then(function($isTypeOfResults) use ($possibleTypes) {
740 740
                     foreach ($isTypeOfResults as $index => $result) {
741 741
                         if ($result) {
742 742
                             return $possibleTypes[$index];
Please login to merge, or discard this patch.