Merge pull request #132 from simPod/master

Fixed incorrect type hints in method docs
This commit is contained in:
Vladimir Razuvaev 2017-06-19 13:33:49 +07:00 committed by GitHub
commit 393a741d5e

View File

@ -42,9 +42,9 @@ class GraphQL
/** /**
* @param Schema $schema * @param Schema $schema
* @param string|DocumentNode $requestString * @param string|DocumentNode $requestString
* @param null $rootValue * @param mixed $rootValue
* @param null $variableValues * @param array|null $variableValues
* @param null $operationName * @param string|null $operationName
* @return ExecutionResult|Promise * @return ExecutionResult|Promise
*/ */
public static function executeAndReturnResult(Schema $schema, $requestString, $rootValue = null, $contextValue = null, $variableValues = null, $operationName = null) public static function executeAndReturnResult(Schema $schema, $requestString, $rootValue = null, $contextValue = null, $variableValues = null, $operationName = null)