Fix incorrect array type of rootValue in PHPDocs

This commit is contained in:
Petr Skoda 2019-02-11 08:53:24 +13:00
parent 7d59811c4f
commit 77448ba623
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class Executor
*
* Useful for async PHP platforms.
*
* @param mixed[]|null $rootValue
* @param mixed|null $rootValue
* @param mixed|null $contextValue
* @param mixed[]|null $variableValues
* @param string|null $operationName

View File

@ -115,7 +115,7 @@ class ReferenceExecutor implements ExecutorImplementation
* Constructs an ExecutionContext object from the arguments passed to
* execute, which we will pass throughout the other execution methods.
*
* @param mixed[] $rootValue
* @param mixed $rootValue
* @param mixed $contextValue
* @param mixed[]|Traversable $rawVariableValues
* @param string|null $operationName