Completed
Push — master ( 7a0180...875ce0 )
by Alexandr
02:39
created
Tests/Library/Type/InterfaceTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             'fields'      => [
44 44
                 'name' => new StringType()
45 45
             ],
46
-            'resolveType' => function ($object) {
46
+            'resolveType' => function($object) {
47 47
                 return $object;
48 48
             }
49 49
         ]);
Please login to merge, or discard this patch.
Tests/Library/Type/UnionTypeTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
                 new TestObjectType(),
33 33
                 $object
34 34
             ],
35
-            'resolveType' => function ($type) {
35
+            'resolveType' => function($type) {
36 36
                 return $type;
37 37
             }
38 38
         ]);
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             'types'       => [
68 68
                 'test', new IntType()
69 69
             ],
70
-            'resolveType' => function ($type) {
70
+            'resolveType' => function($type) {
71 71
                 return $type;
72 72
             }
73 73
         ]);
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             'types'       => [
85 85
                 new IntType()
86 86
             ],
87
-            'resolveType' => function ($type) {
87
+            'resolveType' => function($type) {
88 88
                 return $type;
89 89
             }
90 90
         ]);
Please login to merge, or discard this patch.
Tests/Library/Type/EnumTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
                 'value' => 'disable'
103 103
             ]
104 104
         ];
105
-        $enumType   = new EnumType([
105
+        $enumType = new EnumType([
106 106
             'name'   => 'BoolEnum',
107 107
             'values' => $valuesData
108 108
         ]);
Please login to merge, or discard this patch.
Tests/Library/Field/FieldAwareConfigTraitTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
                 'type' => new IntType()
25 25
             ]
26 26
         ];
27
-        $config     = new ObjectTypeConfig([
27
+        $config = new ObjectTypeConfig([
28 28
             'name'   => 'UserType',
29 29
             'fields' => $fieldsData
30 30
         ]);
Please login to merge, or discard this patch.
Tests/Library/Field/FieldTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $fieldWithResolve = new Field([
37 37
             'name'    => 'title',
38 38
             'type'    => new StringType(),
39
-            'resolve' => function ($value, array $args, ResolveInfo $info) {
39
+            'resolve' => function($value, array $args, ResolveInfo $info) {
40 40
                 return $info->getReturnType()->serialize($value);
41 41
             }
42 42
         ]);
Please login to merge, or discard this patch.
Tests/Library/Config/FieldConfigTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $fieldConfig = new FieldConfig([
21 21
             'name'    => 'FirstName',
22 22
             'type'    => new StringType(),
23
-            'resolve' => function ($value, $args = [], $type = null) {
23
+            'resolve' => function($value, $args = [], $type = null) {
24 24
                 return 'John';
25 25
             }
26 26
         ]);
Please login to merge, or discard this patch.
Tests/Library/Validator/TypeValidationRuleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
             [TypeService::TYPE_ANY_OBJECT, new StringType()],
54 54
             [TypeService::TYPE_ANY_OBJECT, null, false],
55 55
 
56
-            [TypeService::TYPE_CALLABLE, function () { }],
56
+            [TypeService::TYPE_CALLABLE, function() { }],
57 57
             [TypeService::TYPE_CALLABLE, null, false],
58 58
 
59 59
             [TypeService::TYPE_BOOLEAN, true],
Please login to merge, or discard this patch.
Tests/Library/Relay/NodeInterfaceTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $this->assertNull($type->getFetcher());
26 26
         $this->assertNull($type->resolveType($testObject));
27 27
 
28
-        $fetcher = new CallableFetcher(function () { }, function () { return new TestObjectType(); });
28
+        $fetcher = new CallableFetcher(function() { }, function() { return new TestObjectType(); });
29 29
         $type->setFetcher($fetcher);
30 30
         $this->assertEquals($fetcher, $type->getFetcher());
31 31
 
Please login to merge, or discard this patch.
Tests/Library/Relay/NodeFieldTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
     public function testMethods()
19 19
     {
20
-        $fetcher = new CallableFetcher(function () { }, function () { });
20
+        $fetcher = new CallableFetcher(function() { }, function() { });
21 21
         $field   = new NodeField($fetcher);
22 22
 
23 23
         $this->assertEquals('Fetches an object given its ID', $field->getDescription());
Please login to merge, or discard this patch.