Fixed incorrect type hints in method docs

This commit is contained in:
Simon Podlipsky 2017-06-18 12:29:29 +02:00
parent e7cde5ecf3
commit 6a4785dc4a
No known key found for this signature in database
GPG Key ID: 725C2BD962B42663

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)