Completed
Pull Request — master (#105)
by Christoffer
04:14 queued 01:53
created
src/Validation/Rule/ProvidedNonNullArgumentsRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             }
35 35
 
36 36
             $argumentNodes   = $node->getArguments();
37
-            $argumentNodeMap = keyMap($argumentNodes, function (ArgumentNode $argument) {
37
+            $argumentNodeMap = keyMap($argumentNodes, function(ArgumentNode $argument) {
38 38
                 return $argument->getNameValue();
39 39
             });
40 40
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             }
66 66
 
67 67
             $argumentNodes   = $node->getArguments();
68
-            $argumentNodeMap = keyMap($argumentNodes, function (ArgumentNode $argument) {
68
+            $argumentNodeMap = keyMap($argumentNodes, function(ArgumentNode $argument) {
69 69
                 return $argument->getNameValue();
70 70
             });
71 71
 
Please login to merge, or discard this patch.
src/Language/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
  */
147 147
 function locationsShorthandToArray(array $locations): array
148 148
 {
149
-    return array_map(function ($shorthand) {
149
+    return array_map(function($shorthand) {
150 150
         return locationShorthandToArray($shorthand);
151 151
     }, $locations);
152 152
 }
Please login to merge, or discard this patch.
src/Util/TypeComparator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
                 // If both types are abstract, then determine if there is any intersection
93 93
                 // between possible concrete types of each.
94 94
                 return arraySome($schema->getPossibleTypes($typeA),
95
-                    function (TypeInterface $type) use ($schema, $typeB) {
95
+                    function(TypeInterface $type) use ($schema, $typeB) {
96 96
                         return $schema->isPossibleType($typeB, $type);
97 97
                     });
98 98
             }
Please login to merge, or discard this patch.