@@ -85,7 +85,7 @@ |
||
| 85 | 85 | */ |
| 86 | 86 | public function process(): Document |
| 87 | 87 | { |
| 88 | - $this->build()->pipeline->reduce(function (\Closure $callback): void { |
|
| 88 | + $this->build()->pipeline->reduce(function(\Closure $callback): void { |
|
| 89 | 89 | $callback(); |
| 90 | 90 | }); |
| 91 | 91 | |
@@ -30,8 +30,8 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | protected function processDefinition(RuleInterface $ast, TypeDefinition $definition): void |
| 32 | 32 | { |
| 33 | - $this->immediately(function () use ($ast, $definition): void { |
|
| 34 | - $this->transaction($definition, function () use ($ast, $definition): void { |
|
| 33 | + $this->immediately(function() use ($ast, $definition): void { |
|
| 34 | + $this->transaction($definition, function() use ($ast, $definition): void { |
|
| 35 | 35 | $definition->withOffset($ast->getOffset()); |
| 36 | 36 | $definition->withDescription($ast->getDescription()); |
| 37 | 37 | }); |
@@ -44,8 +44,8 @@ discard block |
||
| 44 | 44 | */ |
| 45 | 45 | protected function processDirectives(RuleInterface $ast, TypeDefinition $definition): void |
| 46 | 46 | { |
| 47 | - $this->future(function () use ($ast, $definition): void { |
|
| 48 | - $this->transaction($definition, function () use ($ast, $definition): void { |
|
| 47 | + $this->future(function() use ($ast, $definition): void { |
|
| 48 | + $this->transaction($definition, function() use ($ast, $definition): void { |
|
| 49 | 49 | foreach ($ast->getDirectives() as $child) { |
| 50 | 50 | $directive = $child->getTypeInvocation($this->document); |
| 51 | 51 | |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | private function processDirective(DirectiveNode $ast, DirectiveInvocation $directive): void |
| 66 | 66 | { |
| 67 | - $this->transaction($directive, function () use ($ast, $directive): void { |
|
| 67 | + $this->transaction($directive, function() use ($ast, $directive): void { |
|
| 68 | 68 | foreach ($ast->getDirectiveArguments() as $child) { |
| 69 | 69 | $argument = $child->getTypeInvocation($directive); |
| 70 | 70 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | */ |
| 82 | 82 | private function processDirectiveArguments(ArgumentInvocation $argument): void |
| 83 | 83 | { |
| 84 | - $this->transaction($argument, function () use ($argument): void { |
|
| 84 | + $this->transaction($argument, function() use ($argument): void { |
|
| 85 | 85 | // TODO |
| 86 | 86 | }); |
| 87 | 87 | } |