Completed
Pull Request — master (#204)
by Ryan
11:34
created
Tests/Library/Field/FieldAwareConfigTraitTest.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/DataProvider/TestObjectType.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -42,21 +42,21 @@
 block discarded – undo
42 42
             ->addField(
43 43
                 'location',
44 44
                 [
45
-                 'type' => new ObjectType(
46
-                     [
47
-                         'name'   => 'Location',
48
-                         'fields' => [
49
-                             'address' => new StringType(),
50
-                         ],
51
-                     ]
52
-                 ),
53
-                 'args' => [
54
-                     'noop' => new IntType(),
55
-                 ],
56
-                 'resolve' => static function ($value, $args, $info) {
57
-                     return ['address' => '1234 Street'];
58
-                 },
59
-             ]
45
+                    'type' => new ObjectType(
46
+                        [
47
+                            'name'   => 'Location',
48
+                            'fields' => [
49
+                                'address' => new StringType(),
50
+                            ],
51
+                        ]
52
+                    ),
53
+                    'args' => [
54
+                        'noop' => new IntType(),
55
+                    ],
56
+                    'resolve' => static function ($value, $args, $info) {
57
+                        return ['address' => '1234 Street'];
58
+                    },
59
+                ]
60 60
             )
61 61
             ->addField(
62 62
                 'echo',
Please login to merge, or discard this 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-youshido project.
15 15
  *
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                  'args' => [
54 54
                      'noop' => new IntType(),
55 55
                  ],
56
-                 'resolve' => static function ($value, $args, $info) {
56
+                 'resolve' => static function($value, $args, $info) {
57 57
                      return ['address' => '1234 Street'];
58 58
                  },
59 59
              ]
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                     'args' => [
66 66
                         'value' => new NonNullType(new StringType()),
67 67
                     ],
68
-                    'resolve' => static function ($value, $args, $info) {
68
+                    'resolve' => static function($value, $args, $info) {
69 69
                         return $args['value'];
70 70
                     },
71 71
                 ]
Please login to merge, or discard this patch.
Tests/DataProvider/TestResolveInfo.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/DataProvider/TestScalarDataProvider.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-youshido project.
15 15
  *
Please login to merge, or discard this patch.
Tests/DataProvider/TestExtendedType.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/DataProvider/TestEmptySchema.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/DataProvider/TestTimeType.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/DataProvider/TestSchema.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
  * This file is a part of GraphQL project.
15 15
  *
@@ -34,13 +34,13 @@  discard block
 block discarded – undo
34 34
         $config->getQuery()->addFields([
35 35
             'me' => [
36 36
                 'type'    => new TestObjectType(),
37
-                'resolve' => static function ($value, $args, ResolveInfo $info) {
37
+                'resolve' => static function($value, $args, ResolveInfo $info) {
38 38
                     return $info->getReturnType()->getData();
39 39
                 },
40 40
             ],
41 41
             'status' => [
42 42
                 'type'    => new TestEnumType(),
43
-                'resolve' => function () {
43
+                'resolve' => function() {
44 44
                     return $this->testStatusValue;
45 45
                 },
46 46
             ],
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $config->getMutation()->addFields([
49 49
             'updateStatus' => [
50 50
                 'type'    => new TestEnumType(),
51
-                'resolve' => function () {
51
+                'resolve' => function() {
52 52
                     return $this->testStatusValue;
53 53
                 },
54 54
                 'args' => [
Please login to merge, or discard this patch.
Tests/DataProvider/TestField.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: 13.05.16.
15 15
  */
Please login to merge, or discard this patch.