Completed
Push — master ( 79a9b5...ff1012 )
by Christoffer
02:31
created
src/Validation/comparators.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
         return false;
17 17
     }
18 18
 
19
-    return arrayEvery($argumentsA, function (ArgumentNode $argumentA) use ($argumentsB) {
20
-        $argumentB = find($argumentsB, function (ArgumentNode $argument) use ($argumentA) {
19
+    return arrayEvery($argumentsA, function(ArgumentNode $argumentA) use ($argumentsB) {
20
+        $argumentB = find($argumentsB, function(ArgumentNode $argument) use ($argumentA) {
21 21
             return $argument->getNameValue() === $argumentA->getNameValue();
22 22
         });
23 23
 
Please login to merge, or discard this patch.
src/Validation/Rule/FieldOnCorrectTypeRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 
107 107
         $suggestedInterfaceTypes = array_keys($interfaceUsageCount);
108 108
 
109
-        uasort($suggestedInterfaceTypes, function ($a, $b) use ($interfaceUsageCount) {
109
+        uasort($suggestedInterfaceTypes, function($a, $b) use ($interfaceUsageCount) {
110 110
             return $interfaceUsageCount[$b] - $interfaceUsageCount[$a];
111 111
         });
112 112
 
Please login to merge, or discard this patch.
src/Validation/Rule/KnownDirectivesRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             /** @var Directive $directiveDefinition */
49 49
             $directiveDefinition = find(
50 50
                 $this->validationContext->getSchema()->getDirectives(),
51
-                function (Directive $definition) use ($node) {
51
+                function(Directive $definition) use ($node) {
52 52
                     return $definition->getName() === $node->getNameValue();
53 53
                 }
54 54
             );
Please login to merge, or discard this patch.
src/Language/Writer/AbstractWriter.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
      */
37 37
     protected function printNodes(array $nodes): array
38 38
     {
39
-        return array_map(function ($node) {
39
+        return array_map(function($node) {
40 40
             return $this->printer->print($node);
41 41
         }, $nodes);
42 42
     }
Please login to merge, or discard this patch.
src/Language/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/Node/DocumentNode.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 getDefinitionsAsArray(): 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->definitions);
39 39
     }
Please login to merge, or discard this patch.
src/Language/Node/InputArgumentsTrait.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 getArgumentsAsArray(): 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->arguments);
32 32
     }
Please login to merge, or discard this patch.
src/Language/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/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.