Remove unused variables

This commit is contained in:
Jeremiah VALERIE 2018-08-23 09:16:08 +02:00
parent 4209a2f60e
commit 6996e2da2b
No known key found for this signature in database
GPG Key ID: 668676FD50ADF244

View File

@ -49,10 +49,10 @@ class VariablesDefaultValueAllowed extends AbstractValidationRule
return Visitor::skipNode(); return Visitor::skipNode();
}, },
NodeKind::SELECTION_SET => function(SelectionSetNode $node) use ($context) { NodeKind::SELECTION_SET => function(SelectionSetNode $node) {
return Visitor::skipNode(); return Visitor::skipNode();
}, },
NodeKind::FRAGMENT_DEFINITION => function(FragmentDefinitionNode $node) use ($context) { NodeKind::FRAGMENT_DEFINITION => function(FragmentDefinitionNode $node) {
return Visitor::skipNode(); return Visitor::skipNode();
}, },
]; ];