Completed
Pull Request — master (#204)
by Ryan
11:34
created
src/Execution/DeferredResolverInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  */
Please login to merge, or discard this patch.
src/Execution/Context/ExecutionContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/Execution/Context/ExecutionContextInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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: 5/20/16.
15 15
  */
Please login to merge, or discard this patch.
src/Execution/DeferredResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  */
Please login to merge, or discard this patch.
src/Execution/Processor.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -337,9 +337,9 @@  discard block
 block discarded – undo
337 337
             }
338 338
 
339 339
             $fakeField = new Field([
340
-              'name' => $field->getName(),
341
-              'type' => $itemType,
342
-              'args' => $field->getArguments(),
340
+                'name' => $field->getName(),
341
+                'type' => $itemType,
342
+                'args' => $field->getArguments(),
343 343
             ]);
344 344
 
345 345
             $result = [];
@@ -441,9 +441,9 @@  discard block
 block discarded – undo
441 441
             }
442 442
 
443 443
             $fakeField = new Field([
444
-              'name' => $field->getName(),
445
-              'type' => $resolvedType,
446
-              'args' => $field->getArguments(),
444
+                'name' => $field->getName(),
445
+                'type' => $resolvedType,
446
+                'args' => $field->getArguments(),
447 447
             ]);
448 448
 
449 449
             return $this->resolveObject($fakeField, $ast, $resolvedValue, true);
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Directive/Directive.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  */
Please login to merge, or discard this patch.
src/Directive/DirectiveInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  */
Please login to merge, or discard this patch.
src/Directive/DirectiveLocation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  */
Please login to merge, or discard this patch.
src/Relay/RelayMutation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.