From 2bfce654846d4c86048e0de8ade3519b105749d9 Mon Sep 17 00:00:00 2001 From: Vladimir Razuvaev Date: Fri, 18 Aug 2017 02:55:22 +0700 Subject: [PATCH] Fixed Parser docblock comments --- src/Language/Parser.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Language/Parser.php b/src/Language/Parser.php index b57b96d..84d6c4d 100644 --- a/src/Language/Parser.php +++ b/src/Language/Parser.php @@ -239,7 +239,7 @@ class Parser * @param int $openKind * @param callable $parseFn * @param int $closeKind - * @return array + * @return NodeList * @throws SyntaxError */ function any($openKind, $parseFn, $closeKind) @@ -406,7 +406,7 @@ class Parser } /** - * @return VariableDefinitionNode[] + * @return VariableDefinitionNode[]|NodeList */ function parseVariableDefinitions() { @@ -509,7 +509,7 @@ class Parser } /** - * @return ArgumentNode[] + * @return ArgumentNode[]|NodeList */ function parseArguments() { @@ -754,7 +754,7 @@ class Parser // Implements the parsing rules in the Directives section. /** - * @return DirectiveNode[] + * @return DirectiveNode[]|NodeList */ function parseDirectives() { @@ -993,7 +993,7 @@ class Parser } /** - * @return InputValueDefinitionNode[] + * @return InputValueDefinitionNode[]|NodeList */ function parseArgumentDefs() {