@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $config['mutation'] = new InternalSchemaMutationObject(['name' => $this->getName() . 'Mutation']); |
| 29 | 29 | } |
| 30 | 30 | if (!array_key_exists('types', $config)) { |
| 31 | - $config['types'] = []; |
|
| 31 | + $config['types'] = []; |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | $this->config = new SchemaConfig($config, $this); |
@@ -340,10 +340,10 @@ |
||
| 340 | 340 | $this->resolveValidator->assertValidFragmentForField($fragment, $fieldAst, $originalType); |
| 341 | 341 | |
| 342 | 342 | if ($fragment->getModel() !== $innerQueryType->getName() && $fragment->getModel() !== $innerOriginalType->getName()) { |
| 343 | - continue; |
|
| 343 | + continue; |
|
| 344 | 344 | } |
| 345 | 345 | } elseif ($fragment->getTypeName() !== $innerQueryType->getName() && $fragment->getTypeName() !== $innerOriginalType->getName()) { |
| 346 | - continue; |
|
| 346 | + continue; |
|
| 347 | 347 | } |
| 348 | 348 | |
| 349 | 349 | $fragmentValue = $this->processQueryFields($fragment, $queryType, $resolvedValue, $value); |