Passed
Push — master ( 3744db...c4e50d )
by Christoffer
04:43 queued 02:15
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->createContext($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->setContext($context);
51 51
         }, $rules);
52 52
 
Please login to merge, or discard this patch.
src/Schema/Building/BuildingContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      */
120 120
     public function buildTypes(): array
121 121
     {
122
-        return \array_map(function (TypeDefinitionNodeInterface $definition) {
122
+        return \array_map(function(TypeDefinitionNodeInterface $definition) {
123 123
             return $this->definitionBuilder->buildType($definition);
124 124
         }, \array_values($this->typeDefinitionMap));
125 125
     }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     public function buildDirectives(): array
131 131
     {
132
-        $directives = \array_map(function (DirectiveDefinitionNode $definition) {
132
+        $directives = \array_map(function(DirectiveDefinitionNode $definition) {
133 133
             return $this->definitionBuilder->buildDirective($definition);
134 134
         }, $this->directiveDefinitions);
135 135
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         ];
141 141
 
142 142
         foreach ($specifiedDirectivesMap as $name => $directive) {
143
-            if (!arraySome($directives, function (Directive $directive) use ($name) {
143
+            if (!arraySome($directives, function(Directive $directive) use ($name) {
144 144
                 return $directive->getName() === $name;
145 145
             })) {
146 146
                 $directives[] = $directive;
Please login to merge, or discard this patch.