@@ -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); |