Completed
Pull Request — master (#204)
by Ryan
11:34
created
src/Execution/Reducer.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: 07.11.16.
15 15
  */
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
                     }
Please login to merge, or discard this patch.
src/Execution/Processor.php 1 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.
src/Relay/Type/PageInfoType.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/Relay/Node.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: 10.05.16.
15 15
  */
Please login to merge, or discard this patch.
src/Relay/Fetcher/FetcherInterface.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: 17.05.16.
15 15
  */
Please login to merge, or discard this patch.