From b2b08f2a07b9132bad66b657c9231ffa8affd076 Mon Sep 17 00:00:00 2001 From: vladar Date: Thu, 16 Jul 2015 15:16:27 +0600 Subject: [PATCH] Fixed missing cleanup in TypeInfo::leave --- src/Utils/TypeInfo.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Utils/TypeInfo.php b/src/Utils/TypeInfo.php index 7cce63f..2953929 100644 --- a/src/Utils/TypeInfo.php +++ b/src/Utils/TypeInfo.php @@ -258,7 +258,11 @@ class TypeInfo array_pop($this->_typeStack); break; case Node::VARIABLE_DEFINITION: + array_pop($this->_inputTypeStack); + break; case Node::ARGUMENT: + array_pop($this->_inputTypeStack); + break; case Node::DIRECTIVE: case Node::ARR: case Node::OBJECT_FIELD: