Completed
Pull Request — master (#204)
by Ryan
11:34
created
Tests/Library/Relay/ConnectionTest.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.
Tests/Library/Relay/NodeTest.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.
Tests/Library/Relay/ArrayConnectionTest.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.
Tests/Library/Relay/MutationTest.php 1 patch
Spacing   +3 added lines, -3 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
  * This file is a part of GraphQL project.
15 15
  *
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         ], [
34 34
             'id'   => new IdType(),
35 35
             'name' => new StringType(),
36
-        ], static function ($source, $args, $info): void {
36
+        ], static function($source, $args, $info): void {
37 37
         });
38 38
         $this->assertEquals('ship', $mutation->getName());
39 39
     }
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
         RelayMutation::buildMutation('ship', [
47 47
             'name' => new StringType(),
48
-        ], new IntType(), static function ($source, $args, $info): void {
48
+        ], new IntType(), static function($source, $args, $info): void {
49 49
         });
50 50
     }
51 51
 }
Please login to merge, or discard this patch.
Tests/Library/Relay/NodeFieldTest.php 1 patch
Spacing   +3 added lines, -3 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
  * This file is a part of GraphQL project.
15 15
  *
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 {
27 27
     public function testMethods(): void
28 28
     {
29
-        $fetcher = new CallableFetcher(static function (): void {
30
-        }, static function (): void {
29
+        $fetcher = new CallableFetcher(static function(): void {
30
+        }, static function(): void {
31 31
         });
32 32
         $field   = new NodeField($fetcher);
33 33
 
Please login to merge, or discard this patch.
Tests/Library/Utilities/ErrorContainerTraitTest.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.
Tests/Library/Utilities/TypeUtilitiesTest.php 1 patch
Spacing   +2 added lines, -2 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
  * This file is a part of GraphQL project.
15 15
  *
@@ -71,6 +71,6 @@  discard block
 block discarded – undo
71 71
         $arrayData = (new TestObjectType())->getData();
72 72
 
73 73
         $this->assertEquals('John', TypeService::getPropertyValue($arrayData, 'name'));
74
-        $this->assertEquals('John', TypeService::getPropertyValue((object) $arrayData, 'name'));
74
+        $this->assertEquals('John', TypeService::getPropertyValue((object)$arrayData, 'name'));
75 75
     }
76 76
 }
Please login to merge, or discard this patch.
Tests/Library/Field/InputFieldTest.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.
Tests/Library/Field/FieldTest.php 1 patch
Spacing   +2 added lines, -2 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
  * This file is a part of GraphQL project.
15 15
  *
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $fieldWithResolve = new Field([
47 47
             'name'    => 'title',
48 48
             'type'    => new StringType(),
49
-            'resolve' => static function ($value, array $args, ResolveInfo $info) {
49
+            'resolve' => static function($value, array $args, ResolveInfo $info) {
50 50
                 return $info->getReturnType()->serialize($value);
51 51
             },
52 52
         ]);
Please login to merge, or discard this patch.