@@ -50,7 +50,7 @@ |
||
50 | 50 | $errors = $this->validate($schema); |
51 | 51 | |
52 | 52 | if (!empty($errors)) { |
53 | - $message = \implode("\n", \array_map(function (SchemaValidationException $error) { |
|
53 | + $message = \implode("\n", \array_map(function(SchemaValidationException $error) { |
|
54 | 54 | return $error->getMessage(); |
55 | 55 | }, $errors)); |
56 | 56 |
@@ -55,7 +55,7 @@ |
||
55 | 55 | |
56 | 56 | $context = $this->contextCreator->create($schema, $document, $typeInfo); |
57 | 57 | |
58 | - $visitors = \array_map(function (RuleInterface $rule) use ($context) { |
|
58 | + $visitors = \array_map(function(RuleInterface $rule) use ($context) { |
|
59 | 59 | return $rule->setContext($context); |
60 | 60 | }, $rules); |
61 | 61 |