Fix incorrect array type of contextValue in PHPDocs

This commit is contained in:
Petr Skoda 2019-02-07 09:14:11 +13:00
parent 31bbc416a5
commit 7d59811c4f
2 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ class Executor
* execution are collected in `$result->errors`. * execution are collected in `$result->errors`.
* *
* @param mixed|null $rootValue * @param mixed|null $rootValue
* @param mixed[]|null $contextValue * @param mixed|null $contextValue
* @param mixed[]|ArrayAccess|null $variableValues * @param mixed[]|ArrayAccess|null $variableValues
* @param string|null $operationName * @param string|null $operationName
* *
@ -120,7 +120,7 @@ class Executor
* Useful for async PHP platforms. * Useful for async PHP platforms.
* *
* @param mixed[]|null $rootValue * @param mixed[]|null $rootValue
* @param mixed[]|null $contextValue * @param mixed|null $contextValue
* @param mixed[]|null $variableValues * @param mixed[]|null $variableValues
* @param string|null $operationName * @param string|null $operationName
* *
@ -163,7 +163,7 @@ class Executor
* *
* @param mixed $source * @param mixed $source
* @param mixed[] $args * @param mixed[] $args
* @param mixed[]|null $context * @param mixed|null $context
* *
* @return mixed|null * @return mixed|null
*/ */

View File

@ -116,7 +116,7 @@ class ReferenceExecutor implements ExecutorImplementation
* execute, which we will pass throughout the other execution methods. * execute, which we will pass throughout the other execution methods.
* *
* @param mixed[] $rootValue * @param mixed[] $rootValue
* @param mixed[] $contextValue * @param mixed $contextValue
* @param mixed[]|Traversable $rawVariableValues * @param mixed[]|Traversable $rawVariableValues
* @param string|null $operationName * @param string|null $operationName
* *