Completed
Pull Request — master (#101)
by Christoffer
05:32 queued 01:23
created
src/Validation/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
         $context = $this->contextBuilder->build($schema, $document, $typeInfo);
48 48
 
49
-        $visitors = array_map(function (RuleInterface $rule) use ($context) {
49
+        $visitors = array_map(function(RuleInterface $rule) use ($context) {
50 50
             return $rule->setValidationContext($context);
51 51
         }, $rules);
52 52
 
Please login to merge, or discard this patch.
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.