Passed
Pull Request — master (#33)
by Sam
02:29
created
src/Util/valueFromAST.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
         $coercedObject = [];
102 102
 
103 103
         /** @var ObjectFieldNode[] $fieldNodes */
104
-        $fieldNodes = keyMap($node->getFields(), function (FieldNode $value) {
104
+        $fieldNodes = keyMap($node->getFields(), function(FieldNode $value) {
105 105
             return $value->getNameValue();
106 106
         });
107 107
 
Please login to merge, or discard this patch.
src/Language/AST/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/AST/Node/TypesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function getTypesAsArray(): array
28 28
     {
29
-        return array_map(function (SerializationInterface $node) {
29
+        return array_map(function(SerializationInterface $node) {
30 30
             return $node->toArray();
31 31
         }, $this->types);
32 32
     }
Please login to merge, or discard this patch.
src/Language/AST/Node/InterfacesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function getInterfacesAsArray(): array
28 28
     {
29
-        return array_map(function (SerializationInterface $node) {
29
+        return array_map(function(SerializationInterface $node) {
30 30
             return $node->toArray();
31 31
         }, $this->interfaces);
32 32
     }
Please login to merge, or discard this patch.
src/Language/AST/Node/VariableDefinitionsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function getVariableDefinitionsAsArray(): array
28 28
     {
29
-        return array_map(function (SerializationInterface $node) {
29
+        return array_map(function(SerializationInterface $node) {
30 30
             return $node->toArray();
31 31
         }, $this->variableDefinitions);
32 32
     }
Please login to merge, or discard this patch.
src/Language/AST/Node/FieldsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function getFieldsAsArray(): array
28 28
     {
29
-        return array_map(function (SerializationInterface $node) {
29
+        return array_map(function(SerializationInterface $node) {
30 30
             return $node->toArray();
31 31
         }, $this->fields);
32 32
     }
Please login to merge, or discard this patch.
src/Language/AST/Node/InputFieldsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function getFieldsAsArray(): array
28 28
     {
29
-        return array_map(function (SerializationInterface $node) {
29
+        return array_map(function(SerializationInterface $node) {
30 30
             return $node->toArray();
31 31
         }, $this->fields);
32 32
     }
Please login to merge, or discard this patch.
src/Cache/RuntimeCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     public function getMultiple($keys, $default = null)
61 61
     {
62
-        return array_filter($this->cache, function ($key) use ($keys) {
62
+        return array_filter($this->cache, function($key) use ($keys) {
63 63
             return \in_array($key, $keys, true);
64 64
         }, ARRAY_FILTER_USE_KEY);
65 65
     }
Please login to merge, or discard this patch.
src/Language/AST/Node/ArgumentsTrait.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 getArgumentsAsArray(): 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->getArguments());
39 39
     }
Please login to merge, or discard this patch.