@@ 338-348 (lines=11) @@ | ||
335 | $astName = $astField->getTypeName(); |
|
336 | $typeName = $type->getName(); |
|
337 | ||
338 | if ($typeName !== $astName) { |
|
339 | foreach ($type->getInterfaces() as $interface) { |
|
340 | if ($interface->getName() === $astName) { |
|
341 | $result = array_replace_recursive($result, $this->collectResult($field, $type, $astField, $resolvedValue)); |
|
342 | ||
343 | break; |
|
344 | } |
|
345 | } |
|
346 | ||
347 | continue; |
|
348 | } |
|
349 | ||
350 | $result = array_replace_recursive($result, $this->collectResult($field, $type, $astField, $resolvedValue)); |
|
351 | ||
@@ 359-370 (lines=12) @@ | ||
356 | $astFragmentModel = $astFragment->getModel(); |
|
357 | $typeName = $type->getName(); |
|
358 | ||
359 | if ($typeName !== $astFragmentModel) { |
|
360 | foreach ($type->getInterfaces() as $interface) { |
|
361 | if ($interface->getName() === $astFragmentModel) { |
|
362 | $result = array_replace_recursive($result, $this->collectResult($field, $type, $astFragment, $resolvedValue)); |
|
363 | ||
364 | break; |
|
365 | } |
|
366 | ||
367 | } |
|
368 | ||
369 | continue; |
|
370 | } |
|
371 | ||
372 | $result = array_replace_recursive($result, $this->collectResult($field, $type, $astFragment, $resolvedValue)); |
|
373 |