mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 04:46:04 +03:00
Reformat some comments
This commit is contained in:
parent
bc66034f40
commit
65e4488ce8
@ -14,7 +14,7 @@ use GraphQL\Type\Schema;
|
|||||||
* Data that must be available at all points during query execution.
|
* Data that must be available at all points during query execution.
|
||||||
*
|
*
|
||||||
* Namely, schema of the type system that is currently executing,
|
* Namely, schema of the type system that is currently executing,
|
||||||
* and the fragments defined in the query document
|
* and the fragments defined in the query document.
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
|
@ -199,7 +199,7 @@ class ReferenceExecutor implements ExecutorImplementation
|
|||||||
public function doExecute() : Promise
|
public function doExecute() : Promise
|
||||||
{
|
{
|
||||||
// Return a Promise that will eventually resolve to the data described by
|
// Return a Promise that will eventually resolve to the data described by
|
||||||
// The "Response" section of the GraphQL specification.
|
// the "Response" section of the GraphQL specification.
|
||||||
//
|
//
|
||||||
// If errors are encountered while executing a GraphQL field, only that
|
// If errors are encountered while executing a GraphQL field, only that
|
||||||
// field and its descendants will be omitted, and sibling fields will still
|
// field and its descendants will be omitted, and sibling fields will still
|
||||||
|
@ -20,7 +20,7 @@ use function array_merge_recursive;
|
|||||||
class ResolveInfo
|
class ResolveInfo
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The name of the field being resolved
|
* The name of the field being resolved.
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
@ -36,7 +36,7 @@ class ResolveInfo
|
|||||||
public $fieldNodes = [];
|
public $fieldNodes = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Expected return type of the field being resolved
|
* Expected return type of the field being resolved.
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
* @var ScalarType|ObjectType|InterfaceType|UnionType|EnumType|ListOfType|NonNull
|
* @var ScalarType|ObjectType|InterfaceType|UnionType|EnumType|ListOfType|NonNull
|
||||||
@ -44,7 +44,7 @@ class ResolveInfo
|
|||||||
public $returnType;
|
public $returnType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent type of the field being resolved
|
* Parent type of the field being resolved.
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
* @var ObjectType
|
* @var ObjectType
|
||||||
@ -52,7 +52,7 @@ class ResolveInfo
|
|||||||
public $parentType;
|
public $parentType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Path to this field from the very root value
|
* Path to this field from the very root value.
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
* @var string[][]
|
* @var string[][]
|
||||||
@ -60,7 +60,7 @@ class ResolveInfo
|
|||||||
public $path;
|
public $path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instance of a schema used for execution
|
* Instance of a schema used for execution.
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
* @var Schema
|
* @var Schema
|
||||||
@ -68,7 +68,7 @@ class ResolveInfo
|
|||||||
public $schema;
|
public $schema;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AST of all fragments defined in query
|
* AST of all fragments defined in query.
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
* @var FragmentDefinitionNode[]
|
* @var FragmentDefinitionNode[]
|
||||||
@ -76,15 +76,15 @@ class ResolveInfo
|
|||||||
public $fragments = [];
|
public $fragments = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Root value passed to query execution
|
* Root value passed to query execution.
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
* @var mixed|null
|
* @var mixed
|
||||||
*/
|
*/
|
||||||
public $rootValue;
|
public $rootValue;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AST of operation definition node (query, mutation)
|
* AST of operation definition node (query, mutation).
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
* @var OperationDefinitionNode|null
|
* @var OperationDefinitionNode|null
|
||||||
@ -92,7 +92,7 @@ class ResolveInfo
|
|||||||
public $operation;
|
public $operation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Array of variables passed to query execution
|
* Array of variables passed to query execution.
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
* @var mixed[]
|
* @var mixed[]
|
||||||
@ -136,7 +136,7 @@ class ResolveInfo
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper method that returns names of all fields selected in query for
|
* Helper method that returns names of all fields selected in query for
|
||||||
* $this->fieldName up to $depth levels
|
* $this->fieldName up to $depth levels.
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* query MyQuery{
|
* query MyQuery{
|
||||||
|
Loading…
Reference in New Issue
Block a user