diff --git a/src/Validator/Rules/OverlappingFieldsCanBeMerged.php b/src/Validator/Rules/OverlappingFieldsCanBeMerged.php index 0867be6..7ab2838 100644 --- a/src/Validator/Rules/OverlappingFieldsCanBeMerged.php +++ b/src/Validator/Rules/OverlappingFieldsCanBeMerged.php @@ -426,7 +426,7 @@ class OverlappingFieldsCanBeMerged extends AbstractValidationRule $fragmentNames1Length = count($fragmentNames1); if ($fragmentNames1Length !== 0) { $comparedFragments = []; - for ($i = 0; $i < $fragmentNames2Length; $i++) { + for ($i = 0; $i < $fragmentNames1Length; $i++) { $this->collectConflictsBetweenFieldsAndFragment( $context, $conflicts,