From 6996e2da2b381a5fc1339df236dfa208295c97a7 Mon Sep 17 00:00:00 2001 From: Jeremiah VALERIE Date: Thu, 23 Aug 2018 09:16:08 +0200 Subject: [PATCH] Remove unused variables --- src/Validator/Rules/VariablesDefaultValueAllowed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Validator/Rules/VariablesDefaultValueAllowed.php b/src/Validator/Rules/VariablesDefaultValueAllowed.php index fcbbef4..92e84d1 100644 --- a/src/Validator/Rules/VariablesDefaultValueAllowed.php +++ b/src/Validator/Rules/VariablesDefaultValueAllowed.php @@ -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(); }, ];