mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56:05 +03:00
Remove unused variables
This commit is contained in:
parent
4209a2f60e
commit
6996e2da2b
@ -49,10 +49,10 @@ class VariablesDefaultValueAllowed extends AbstractValidationRule
|
||||
|
||||
return Visitor::skipNode();
|
||||
},
|
||||
NodeKind::SELECTION_SET => function(SelectionSetNode $node) use ($context) {
|
||||
NodeKind::SELECTION_SET => function(SelectionSetNode $node) {
|
||||
return Visitor::skipNode();
|
||||
},
|
||||
NodeKind::FRAGMENT_DEFINITION => function(FragmentDefinitionNode $node) use ($context) {
|
||||
NodeKind::FRAGMENT_DEFINITION => function(FragmentDefinitionNode $node) {
|
||||
return Visitor::skipNode();
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user