@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** @var RuleInterface $child */ |
35 | 35 | foreach ($this->ast as $child) { |
36 | - $this->async(function () use ($child, $schema): void { |
|
36 | + $this->async(function() use ($child, $schema): void { |
|
37 | 37 | if ($child->is('SchemaFieldDefinition')) { |
38 | 38 | $this->buildField($child, $schema); |
39 | 39 | } |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | |
112 | 112 | $result = $this->load($name, $definition, $type->getOffset()); |
113 | 113 | |
114 | - if (! $result::getType()->is(Type::OBJECT)) { |
|
114 | + if (!$result::getType()->is(Type::OBJECT)) { |
|
115 | 115 | $error = 'Schema %s field type should be an %s, but %s given'; |
116 | 116 | $error = \sprintf($error, $field, Type::OBJECT, $result); |
117 | 117 |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | } |
43 | 43 | } |
44 | 44 | |
45 | - $this->async(function () use ($directive): void { |
|
45 | + $this->async(function() use ($directive): void { |
|
46 | 46 | $this->loadDirective($directive); |
47 | 47 | |
48 | 48 | $this->definition->withDirective($directive); |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | */ |
80 | 80 | private function checkType(DirectiveInvocation $directive, Definition $definition): void |
81 | 81 | { |
82 | - if (! $definition::getType()->is(Type::DIRECTIVE)) { |
|
82 | + if (!$definition::getType()->is(Type::DIRECTIVE)) { |
|
83 | 83 | $error = \sprintf('Can not use %s as directive', $definition); |
84 | 84 | |
85 | 85 | $exception = new TypeException($error); |