diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index bf07cdd..30ccad4 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 * @@ -119,8 +119,8 @@ class Executor * * Useful for async PHP platforms. * - * @param mixed[]|null $rootValue - * @param mixed[]|null $contextValue + * @param mixed|null $rootValue + * @param mixed|null $contextValue * @param mixed[]|null $variableValues * @param string|null $operationName * @@ -161,9 +161,9 @@ class Executor * and returns it as the result, or if it's a function, returns the result * of calling that function while passing along args and context. * - * @param mixed $source - * @param mixed[] $args - * @param mixed[]|null $context + * @param mixed $source + * @param mixed[] $args + * @param mixed|null $context * * @return mixed|null */ diff --git a/src/Executor/ReferenceExecutor.php b/src/Executor/ReferenceExecutor.php index 5944a6e..90030de 100644 --- a/src/Executor/ReferenceExecutor.php +++ b/src/Executor/ReferenceExecutor.php @@ -115,8 +115,8 @@ 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[] $contextValue + * @param mixed $rootValue + * @param mixed $contextValue * @param mixed[]|Traversable $rawVariableValues * @param string|null $operationName *