From 6a4785dc4a8802a223df6862385139c68a204c77 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Sun, 18 Jun 2017 12:29:29 +0200 Subject: [PATCH] Fixed incorrect type hints in method docs --- src/GraphQL.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GraphQL.php b/src/GraphQL.php index d0d3ec6..1572c82 100644 --- a/src/GraphQL.php +++ b/src/GraphQL.php @@ -42,9 +42,9 @@ class GraphQL /** * @param Schema $schema * @param string|DocumentNode $requestString - * @param null $rootValue - * @param null $variableValues - * @param null $operationName + * @param mixed $rootValue + * @param array|null $variableValues + * @param string|null $operationName * @return ExecutionResult|Promise */ public static function executeAndReturnResult(Schema $schema, $requestString, $rootValue = null, $contextValue = null, $variableValues = null, $operationName = null)