@@ -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); |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | if ($fieldAst instanceof FragmentInterface) { |
324 | 324 | $innerType = $queryType; |
325 | 325 | while ($innerType instanceof CompositeTypeInterface) { |
326 | - $innerType = $innerType->getTypeOf(); |
|
326 | + $innerType = $innerType->getTypeOf(); |
|
327 | 327 | } |
328 | 328 | |
329 | 329 | /** @var TypedFragmentReference $fragment */ |
@@ -335,10 +335,10 @@ discard block |
||
335 | 335 | $this->resolveValidator->assertValidFragmentForField($fragment, $fieldAst, $originalType); |
336 | 336 | |
337 | 337 | if ($fragment->getModel() !== $innerType->getName()) { |
338 | - continue; |
|
338 | + continue; |
|
339 | 339 | } |
340 | 340 | } elseif ($fragment->getTypeName() !== $innerType->getName()) { |
341 | - continue; |
|
341 | + continue; |
|
342 | 342 | } |
343 | 343 | |
344 | 344 | $fragmentValue = $this->processQueryFields($fragment, $queryType, $resolvedValue, $value); |