From c628fa39a1b7b61e8b30c8b502d22a30769a74ed Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Thu, 7 Feb 2019 03:14:11 +0700 Subject: [PATCH] Fix incorrect array type of contextValue in PHPDocs (cherry picked from commit 7d59811c4ff3134d1e4fd79652f8601e9bd37d36) --- src/Executor/Executor.php | 6 +++--- src/Executor/ReferenceExecutor.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index bf07cdd..c87558d 100644 --- a/src/Executor/Executor.php +++ b/src/Executor/Executor.php @@ -74,7 +74,7 @@ class Executor * execution are collected in `$result->errors`. * * @param mixed|null $rootValue - * @param mixed[]|null $contextValue + * @param mixed|null $contextValue * @param mixed[]|ArrayAccess|null $variableValues * @param string|null $operationName * @@ -120,7 +120,7 @@ class Executor * Useful for async PHP platforms. * * @param mixed[]|null $rootValue - * @param mixed[]|null $contextValue + * @param mixed|null $contextValue * @param mixed[]|null $variableValues * @param string|null $operationName * @@ -163,7 +163,7 @@ class Executor * * @param mixed $source * @param mixed[] $args - * @param mixed[]|null $context + * @param mixed|null $context * * @return mixed|null */ diff --git a/src/Executor/ReferenceExecutor.php b/src/Executor/ReferenceExecutor.php index 837628a..e61e5ea 100644 --- a/src/Executor/ReferenceExecutor.php +++ b/src/Executor/ReferenceExecutor.php @@ -116,7 +116,7 @@ class ReferenceExecutor implements ExecutorImplementation * execute, which we will pass throughout the other execution methods. * * @param mixed[] $rootValue - * @param mixed[] $contextValue + * @param mixed $contextValue * @param mixed[]|Traversable $rawVariableValues * @param string|null $operationName *