@@ -33,11 +33,11 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | public function process(mixed $field, InputObjectFieldResolverInterface $fieldResolver): Webonyx\InputObjectField |
| 35 | 35 | { |
| 36 | - if (! $field instanceof ReflectionMethodWithAttribute) { |
|
| 36 | + if (!$field instanceof ReflectionMethodWithAttribute) { |
|
| 37 | 37 | return $fieldResolver->resolve($field); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - if (! $field->attribute instanceof InputObjectField) { |
|
| 40 | + if (!$field->attribute instanceof InputObjectField) { |
|
| 41 | 41 | return $fieldResolver->resolve($field); |
| 42 | 42 | } |
| 43 | 43 | |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | $parameter = $parameters[0]; |
| 96 | 96 | |
| 97 | - if (! $parameter->hasType()) { |
|
| 97 | + if (!$parameter->hasType()) { |
|
| 98 | 98 | throw new CantResolveGraphQLTypeException(\sprintf( |
| 99 | 99 | 'Can\'t resolve GraphQL type "%s" for field "%s". Parameter has no type.', |
| 100 | 100 | $method->getDeclaringClass()->getName(), |
@@ -39,11 +39,11 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | public function process(mixed $field, ObjectFieldResolverInterface $fieldResolver): Webonyx\FieldDefinition |
| 41 | 41 | { |
| 42 | - if (! $field instanceof ReflectionMethodWithAttribute) { |
|
| 42 | + if (!$field instanceof ReflectionMethodWithAttribute) { |
|
| 43 | 43 | return $fieldResolver->resolve($field); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - if (! $field->attribute instanceof $this->targetAttribute) { |
|
| 46 | + if (!$field->attribute instanceof $this->targetAttribute) { |
|
| 47 | 47 | return $fieldResolver->resolve($field); |
| 48 | 48 | } |
| 49 | 49 | |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | return new LazyParserType($attribute->type, $attribute->mode ?? 0, $this->typeRegistry); |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - if (! $method->hasReturnType()) { |
|
| 95 | + if (!$method->hasReturnType()) { |
|
| 96 | 96 | throw new CantResolveGraphQLTypeException(\sprintf( |
| 97 | 97 | 'Can\'t resolve GraphQL type for field "%s"', |
| 98 | 98 | $method->getName() |