mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-04-02 20:26:09 +03:00
Fix wrong length being used in validator.
This commit is contained in:
parent
e31947a452
commit
8ba146071d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue