@@ -251,7 +251,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 736 | 736 | |
| 737 | 737 | if (!empty($promisedIsTypeOfResults)) { |
| 738 | 738 | return \React\Promise\all($promisedIsTypeOfResults) |
| 739 | - ->then(function ($isTypeOfResults) use ($possibleTypes, $value, $context, $info) { |
|
| 739 | + ->then(function($isTypeOfResults) use ($possibleTypes, $value, $context, $info) { |
|
| 740 | 740 | foreach ($isTypeOfResults as $index => $result) { |
| 741 | 741 | if ($result) { |
| 742 | 742 | return $possibleTypes[$index]; |