mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 06:16:05 +03:00
Merge pull request #438 from skodak/executioncontext
Fix incorrect array type of contextValue in PHPDocs
This commit is contained in:
commit
20e98aefa4
@ -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
|
||||||
*
|
*
|
||||||
@ -119,8 +119,8 @@ 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
|
||||||
*
|
*
|
||||||
@ -161,9 +161,9 @@ class Executor
|
|||||||
* and returns it as the result, or if it's a function, returns the result
|
* 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.
|
* of calling that function while passing along args and context.
|
||||||
*
|
*
|
||||||
* @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
|
||||||
*/
|
*/
|
||||||
|
@ -115,8 +115,8 @@ class ReferenceExecutor implements ExecutorImplementation
|
|||||||
* Constructs an ExecutionContext object from the arguments passed to
|
* Constructs an ExecutionContext object from the arguments passed to
|
||||||
* 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
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user