Completed
Push — master ( 961eb8...a5d647 )
by Sam
14s queued 10s
created
src/Language/Node/FieldsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function getFieldsAST(): array
32 32
     {
33
-        return \array_map(function (FieldDefinitionNode $node) {
33
+        return \array_map(function(FieldDefinitionNode $node) {
34 34
             return $node->toAST();
35 35
         }, $this->fields);
36 36
     }
Please login to merge, or discard this patch.
src/Language/Node/DirectivesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function getDirectivesAST(): array
32 32
     {
33
-        return \array_map(function (DirectiveNode $directive) {
33
+        return \array_map(function(DirectiveNode $directive) {
34 34
             return $directive->toAST();
35 35
         }, $this->directives);
36 36
     }
Please login to merge, or discard this patch.
src/Language/Node/SelectionSetNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function getSelectionsAST(): array
39 39
     {
40
-        return \array_map(function (SelectionNodeInterface $node) {
40
+        return \array_map(function(SelectionNodeInterface $node) {
41 41
             return $node->toAST();
42 42
         }, $this->selections);
43 43
     }
Please login to merge, or discard this patch.
src/Language/Node/TypesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function getTypesAST(): array
32 32
     {
33
-        return \array_map(function (NamedTypeNode $node) {
33
+        return \array_map(function(NamedTypeNode $node) {
34 34
             return $node->toAST();
35 35
         }, $this->types);
36 36
     }
Please login to merge, or discard this patch.
src/Language/Node/EnumValuesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function getValuesAST(): array
32 32
     {
33
-        return \array_map(function (EnumValueDefinitionNode $node) {
33
+        return \array_map(function(EnumValueDefinitionNode $node) {
34 34
             return $node->toAST();
35 35
         }, $this->values);
36 36
     }
Please login to merge, or discard this patch.
src/Language/Node/ListValueNode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getValuesAST(): array
39 39
     {
40
-        return \array_map(function (ValueNodeInterface $node) {
40
+        return \array_map(function(ValueNodeInterface $node) {
41 41
             return $node->toAST();
42 42
         }, $this->values);
43 43
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function __toString(): string
71 71
     {
72
-        return \json_encode(\array_map(function (ValueAwareInterface $node) {
72
+        return \json_encode(\array_map(function(ValueAwareInterface $node) {
73 73
             return $node->getValue();
74 74
         }, $this->getValues()));
75 75
     }
Please login to merge, or discard this patch.
src/Language/Node/ArgumentsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function getArgumentsAST(): array
32 32
     {
33
-        return \array_map(function (ArgumentNode $node) {
33
+        return \array_map(function(ArgumentNode $node) {
34 34
             return $node->toAST();
35 35
         }, $this->getArguments());
36 36
     }
Please login to merge, or discard this patch.
src/Execution/ExecutionResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         $array = [];
67 67
 
68 68
         if (!empty($this->errors)) {
69
-            $array['errors'] = \array_map(function (GraphQLException $error) {
69
+            $array['errors'] = \array_map(function(GraphQLException $error) {
70 70
                 return $error->toArray();
71 71
             }, $this->errors);
72 72
         }
Please login to merge, or discard this patch.
src/Util/TypeInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         ?TypeInterface $initialType = null
78 78
     ) {
79 79
         $this->schema                     = $schema;
80
-        $this->getFieldDefinitionFunction = $getFieldDefinitionFunction ?? function (
80
+        $this->getFieldDefinitionFunction = $getFieldDefinitionFunction ?? function(
81 81
                 Schema $schema,
82 82
                 TypeInterface $parentType,
83 83
                 FieldNode $fieldNode
Please login to merge, or discard this patch.