Passed
Pull Request — master (#200)
by Quang
02:36
created
src/Language/Node/ArgumentsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getArgumentsAsArray(): array
34 34
     {
35
-        return \array_map(function (SerializationInterface $node) {
35
+        return \array_map(function(SerializationInterface $node) {
36 36
             return $node->toArray();
37 37
         }, $this->getArguments());
38 38
     }
Please login to merge, or discard this patch.
src/Language/Node/DocumentNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function getDefinitionsAsArray(): array
40 40
     {
41
-        return \array_map(function (SerializationInterface $node) {
41
+        return \array_map(function(SerializationInterface $node) {
42 42
             return $node->toArray();
43 43
         }, $this->definitions);
44 44
     }
Please login to merge, or discard this patch.
src/Language/Node/SchemaDefinitionNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function getOperationTypesAsArray(): array
44 44
     {
45
-        return \array_map(function (SerializationInterface $node) {
45
+        return \array_map(function(SerializationInterface $node) {
46 46
             return $node->toArray();
47 47
         }, $this->operationTypes);
48 48
     }
Please login to merge, or discard this patch.
src/Language/Node/DirectiveDefinitionNode.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
      */
54 54
     public function getLocationsAsArray(): array
55 55
     {
56
-        return \array_map(function (SerializationInterface $node) {
56
+        return \array_map(function(SerializationInterface $node) {
57 57
             return $node->toArray();
58 58
         }, $this->locations);
59 59
     }
Please login to merge, or discard this patch.
src/Language/Node/VariableDefinitionsTrait.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
      */
25 25
     public function getVariableDefinitionsAsArray(): array
26 26
     {
27
-        return \array_map(function (SerializationInterface $node) {
27
+        return \array_map(function(SerializationInterface $node) {
28 28
             return $node->toArray();
29 29
         }, $this->variableDefinitions);
30 30
     }
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
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getTypesAsArray(): array
34 34
     {
35
-        return \array_map(function (SerializationInterface $node) {
35
+        return \array_map(function(SerializationInterface $node) {
36 36
             return $node->toArray();
37 37
         }, $this->types);
38 38
     }
Please login to merge, or discard this patch.
src/Language/Node/InputFieldsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function getFieldsAsArray(): array
35 35
     {
36
-        return \array_map(function (SerializationInterface $node) {
36
+        return \array_map(function(SerializationInterface $node) {
37 37
             return $node->toArray();
38 38
         }, $this->fields);
39 39
     }
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
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getValuesAsArray(): array
34 34
     {
35
-        return \array_map(function (SerializationInterface $node) {
35
+        return \array_map(function(SerializationInterface $node) {
36 36
             return $node->toArray();
37 37
         }, $this->values);
38 38
     }
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
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function getSelectionsAsArray(): array
40 40
     {
41
-        return \array_map(function (SerializationInterface $node) {
41
+        return \array_map(function(SerializationInterface $node) {
42 42
             return $node->toArray();
43 43
         }, $this->selections);
44 44
     }
Please login to merge, or discard this patch.