From 65e4488ce80878dee2bc059837196c91bf2451b8 Mon Sep 17 00:00:00 2001 From: spawnia Date: Sun, 23 Jun 2019 18:41:47 +0200 Subject: [PATCH] Reformat some comments --- src/Executor/ExecutionContext.php | 2 +- src/Executor/ReferenceExecutor.php | 2 +- src/Type/Definition/ResolveInfo.php | 22 +++++++++++----------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Executor/ExecutionContext.php b/src/Executor/ExecutionContext.php index 13e675a..4e541f2 100644 --- a/src/Executor/ExecutionContext.php +++ b/src/Executor/ExecutionContext.php @@ -14,7 +14,7 @@ use GraphQL\Type\Schema; * Data that must be available at all points during query execution. * * 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 */ diff --git a/src/Executor/ReferenceExecutor.php b/src/Executor/ReferenceExecutor.php index 3f285a9..e4f83d5 100644 --- a/src/Executor/ReferenceExecutor.php +++ b/src/Executor/ReferenceExecutor.php @@ -199,7 +199,7 @@ class ReferenceExecutor implements ExecutorImplementation public function doExecute() : Promise { // 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 // field and its descendants will be omitted, and sibling fields will still diff --git a/src/Type/Definition/ResolveInfo.php b/src/Type/Definition/ResolveInfo.php index f2525de..8ab5486 100644 --- a/src/Type/Definition/ResolveInfo.php +++ b/src/Type/Definition/ResolveInfo.php @@ -20,7 +20,7 @@ use function array_merge_recursive; class ResolveInfo { /** - * The name of the field being resolved + * The name of the field being resolved. * * @api * @var string @@ -36,7 +36,7 @@ class ResolveInfo public $fieldNodes = []; /** - * Expected return type of the field being resolved + * Expected return type of the field being resolved. * * @api * @var ScalarType|ObjectType|InterfaceType|UnionType|EnumType|ListOfType|NonNull @@ -44,7 +44,7 @@ class ResolveInfo public $returnType; /** - * Parent type of the field being resolved + * Parent type of the field being resolved. * * @api * @var ObjectType @@ -52,7 +52,7 @@ class ResolveInfo public $parentType; /** - * Path to this field from the very root value + * Path to this field from the very root value. * * @api * @var string[][] @@ -60,7 +60,7 @@ class ResolveInfo public $path; /** - * Instance of a schema used for execution + * Instance of a schema used for execution. * * @api * @var Schema @@ -68,7 +68,7 @@ class ResolveInfo public $schema; /** - * AST of all fragments defined in query + * AST of all fragments defined in query. * * @api * @var FragmentDefinitionNode[] @@ -76,15 +76,15 @@ class ResolveInfo public $fragments = []; /** - * Root value passed to query execution + * Root value passed to query execution. * * @api - * @var mixed|null + * @var mixed */ public $rootValue; /** - * AST of operation definition node (query, mutation) + * AST of operation definition node (query, mutation). * * @api * @var OperationDefinitionNode|null @@ -92,7 +92,7 @@ class ResolveInfo public $operation; /** - * Array of variables passed to query execution + * Array of variables passed to query execution. * * @api * @var mixed[] @@ -136,7 +136,7 @@ class ResolveInfo /** * 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: * query MyQuery{