@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /** |
| 14 | 14 | * Date: 07.11.16. |
| 15 | 15 | */ |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | |
| 124 | 124 | while ($next) { |
| 125 | 125 | $received = (yield $next); |
| 126 | - $childrenScore += (int) $received; |
|
| 126 | + $childrenScore += (int)$received; |
|
| 127 | 127 | $next = $gen->send($received); |
| 128 | 128 | } |
| 129 | 129 | } else { |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | |
| 138 | 138 | while ($next) { |
| 139 | 139 | $received = (yield $next); |
| 140 | - $childrenScore += (int) $received; |
|
| 140 | + $childrenScore += (int)$received; |
|
| 141 | 141 | $next = $gen->send($received); |
| 142 | 142 | } |
| 143 | 143 | } |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | |
| 149 | 149 | while ($next) { |
| 150 | 150 | $received = (yield $next); |
| 151 | - $childrenScore += (int) $received; |
|
| 151 | + $childrenScore += (int)$received; |
|
| 152 | 152 | $next = $gen->send($received); |
| 153 | 153 | } |
| 154 | 154 | } |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /** |
| 14 | 14 | * Date: 03.11.16. |
| 15 | 15 | */ |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | { |
| 305 | 305 | $resolvedValue = $this->doResolve($field, $ast, $parentValue); |
| 306 | 306 | |
| 307 | - return $this->deferredResolve($resolvedValue, $field, function ($resolvedValue) use ($field, $ast, $parentValue) { |
|
| 307 | + return $this->deferredResolve($resolvedValue, $field, function($resolvedValue) use ($field, $ast, $parentValue) { |
|
| 308 | 308 | $this->resolveValidator->assertValidResolvedValueForField($field, $resolvedValue); |
| 309 | 309 | |
| 310 | 310 | /** @var AbstractScalarType $type */ |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | /** @var AstQuery $ast */ |
| 320 | 320 | $resolvedValue = $this->doResolve($field, $ast, $parentValue); |
| 321 | 321 | |
| 322 | - return $this->deferredResolve($resolvedValue, $field, function ($resolvedValue) use ($field, $ast, $parentValue) { |
|
| 322 | + return $this->deferredResolve($resolvedValue, $field, function($resolvedValue) use ($field, $ast, $parentValue) { |
|
| 323 | 323 | $this->resolveValidator->assertValidResolvedValueForField($field, $resolvedValue); |
| 324 | 324 | |
| 325 | 325 | if (null === $resolvedValue) { |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | |
| 347 | 347 | foreach ($resolvedValue as $resolvedValueItem) { |
| 348 | 348 | try { |
| 349 | - $fakeField->getConfig()->set('resolve', static function () use ($resolvedValueItem) { |
|
| 349 | + $fakeField->getConfig()->set('resolve', static function() use ($resolvedValueItem) { |
|
| 350 | 350 | return $resolvedValueItem; |
| 351 | 351 | }); |
| 352 | 352 | |
@@ -392,7 +392,7 @@ discard block |
||
| 392 | 392 | $resolvedValue = $this->doResolve($field, $ast, $parentValue); |
| 393 | 393 | } |
| 394 | 394 | |
| 395 | - return $this->deferredResolve($resolvedValue, $field, function ($resolvedValue) use ($field, $ast, $parentValue) { |
|
| 395 | + return $this->deferredResolve($resolvedValue, $field, function($resolvedValue) use ($field, $ast, $parentValue) { |
|
| 396 | 396 | $this->resolveValidator->assertValidResolvedValueForField($field, $resolvedValue); |
| 397 | 397 | |
| 398 | 398 | if (null === $resolvedValue) { |
@@ -414,7 +414,7 @@ discard block |
||
| 414 | 414 | /** @var AstQuery $ast */ |
| 415 | 415 | $resolvedValue = $this->doResolve($field, $ast, $parentValue); |
| 416 | 416 | |
| 417 | - return $this->deferredResolve($resolvedValue, $field, function ($resolvedValue) use ($field, $ast, $parentValue) { |
|
| 417 | + return $this->deferredResolve($resolvedValue, $field, function($resolvedValue) use ($field, $ast, $parentValue) { |
|
| 418 | 418 | $this->resolveValidator->assertValidResolvedValueForField($field, $resolvedValue); |
| 419 | 419 | |
| 420 | 420 | if (null === $resolvedValue) { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /** |
| 14 | 14 | * Date: 3/17/17. |
| 15 | 15 | */ |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /** |
| 14 | 14 | * Date: 3/17/17. |
| 15 | 15 | */ |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /** |
| 14 | 14 | * Date: 3/24/17. |
| 15 | 15 | */ |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /** |
| 14 | 14 | * Date: 17.05.16. |
| 15 | 15 | */ |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | new InputField([ |
| 50 | 50 | 'name' => 'input', |
| 51 | 51 | 'type' => new NonNullType(new InputObjectType([ |
| 52 | - 'name' => \ucfirst($name) . 'Input', |
|
| 52 | + 'name' => \ucfirst($name).'Input', |
|
| 53 | 53 | 'fields' => \array_merge( |
| 54 | 54 | $args, |
| 55 | 55 | [new InputField(['name' => 'clientMutationId', 'type' => new NonNullType(new StringType())])] |
@@ -62,9 +62,9 @@ discard block |
||
| 62 | 62 | $output, |
| 63 | 63 | [new Field(['name' => 'clientMutationId', 'type' => new NonNullType(new StringType())])] |
| 64 | 64 | ), |
| 65 | - 'name' => \ucfirst($name) . 'Payload', |
|
| 65 | + 'name' => \ucfirst($name).'Payload', |
|
| 66 | 66 | ]), |
| 67 | - 'resolve' => static function ($value, $args, ResolveInfo $info) use ($resolveFunction) { |
|
| 67 | + 'resolve' => static function($value, $args, ResolveInfo $info) use ($resolveFunction) { |
|
| 68 | 68 | $resolveValue = $resolveFunction($value, $args['input'], $args, $info); |
| 69 | 69 | |
| 70 | 70 | if (\is_object($resolveValue)) { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /** |
| 14 | 14 | * This file is a part of GraphQL project. |
| 15 | 15 | */ |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /** |
| 14 | 14 | * Date: 10.05.16. |
| 15 | 15 | */ |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /** |
| 14 | 14 | * Date: 17.05.16. |
| 15 | 15 | */ |