@@ -37,13 +37,13 @@ |
||
| 37 | 37 | $interface->withField($this->dependent($ast, $interface)); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - $this->when->runtime(function () use ($rule, $interface): void { |
|
| 40 | + $this->when->runtime(function() use ($rule, $interface): void { |
|
| 41 | 41 | foreach ($rule->getDirectives() as $ast) { |
| 42 | 42 | $interface->withDirective($this->dependent($ast, $interface)); |
| 43 | 43 | } |
| 44 | 44 | }); |
| 45 | 45 | |
| 46 | - $this->when->resolving(function () use ($rule, $interface): void { |
|
| 46 | + $this->when->resolving(function() use ($rule, $interface): void { |
|
| 47 | 47 | foreach ($rule->getImplementations() as $child) { |
| 48 | 48 | $interface->withInterface($child->getTypeName()); |
| 49 | 49 | } |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | $value->withOffset($rule->getOffset()); |
| 37 | 37 | $value->withDescription($rule->getDescription()); |
| 38 | 38 | |
| 39 | - $this->when->runtime(function () use ($rule, $value): void { |
|
| 39 | + $this->when->runtime(function() use ($rule, $value): void { |
|
| 40 | 40 | if ($hint = $rule->getTypeHint()) { |
| 41 | 41 | $value->withValue($this->valueOf($this->virtualTypeHint($value, $hint), $rule->getValue())); |
| 42 | 42 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $argument->withDescription($rule->getDescription()); |
| 35 | 35 | $argument->withModifiers($hint->getModifiers()); |
| 36 | 36 | |
| 37 | - $this->when->runtime(function () use ($rule, $argument): void { |
|
| 37 | + $this->when->runtime(function() use ($rule, $argument): void { |
|
| 38 | 38 | if ($default = $rule->getDefaultValue()) { |
| 39 | 39 | $argument->withDefaultValue($this->valueOf($argument, $default)); |
| 40 | 40 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $field->withDescription($rule->getDescription()); |
| 35 | 35 | $field->withModifiers($hint->getModifiers()); |
| 36 | 36 | |
| 37 | - $this->when->runtime(function () use ($rule, $field): void { |
|
| 37 | + $this->when->runtime(function() use ($rule, $field): void { |
|
| 38 | 38 | if ($default = $rule->getDefaultValue()) { |
| 39 | 39 | $field->withDefaultValue($this->valueOf($field, $default)); |
| 40 | 40 | } |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | $field->withArgument($this->dependent($ast, $field)); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - $this->when->runtime(function () use ($rule, $field): void { |
|
| 42 | + $this->when->runtime(function() use ($rule, $field): void { |
|
| 43 | 43 | foreach ($rule->getDirectives() as $ast) { |
| 44 | 44 | $field->withDirective($this->dependent($ast, $field)); |
| 45 | 45 | } |