From 4cb974986db7c99b5a33d4ed79507213a7c5dc8c Mon Sep 17 00:00:00 2001 From: simPod Date: Sat, 6 Jan 2024 10:49:03 +0000 Subject: [PATCH] Prettify docs --- docs/class-reference.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/class-reference.md b/docs/class-reference.md index 5f0f11c4c..4d642cfb2 100644 --- a/docs/class-reference.md +++ b/docs/class-reference.md @@ -5,7 +5,7 @@ See [related documentation](executing-queries.md). @phpstan-import-type FieldResolver from Executor -@see \GraphQL\Tests\GraphQLTest +@see Tests\GraphQLTest ### GraphQL\GraphQL Methods @@ -1506,7 +1506,7 @@ function setErrorsHandler(?callable $errorsHandler): self * If debug argument is passed, output of error formatter is enriched which debugging information * ("debugMessage", "trace" keys depending on flags). * - * $debug argument must sum of flags from @see \GraphQL\Error\DebugFlag + * $debug argument must sum of flags from @see DebugFlag * * @phpstan-return SerializableResult * @@ -1870,7 +1870,7 @@ static function setInternalErrorMessage(string $msg): void * This method only exposes the exception message when the given exception * implements the ClientAware interface, or when debug flags are passed. * - * For a list of available debug flags @see \GraphQL\Error\DebugFlag constants. + * For a list of available debug flags @see DebugFlag constants. * * @return SerializableError * @@ -2129,7 +2129,7 @@ function setPersistedQueryLoader(?callable $persistedQueryLoader): self /** * Set response debug flags. * - * @see \GraphQL\Error\DebugFlag class for a list of all available flags + * @see DebugFlag class for a list of all available flags * * @api */ @@ -2381,7 +2381,7 @@ static function create(array $params, bool $readonly = false): GraphQL\Server\Op ## GraphQL\Utils\BuildSchema -Build instance of @see \GraphQL\Type\Schema out of schema language definition (string or parsed AST). +Build instance of @see Schema out of schema language definition (string or parsed AST). See [schema definition language docs](schema-definition-language.md) for details. @@ -2434,11 +2434,11 @@ static function build($source, ?callable $typeConfigDecorator = null, array $opt ```php /** - * This takes the AST of a schema from @see \GraphQL\Language\Parser::parse(). + * This takes the AST of a schema from @see Parser::parse(). * * If no schema definition is provided, then it will look for types named Query and Mutation. * - * Given that AST it constructs a @see \GraphQL\Type\Schema. The resulting schema + * Given that AST it constructs a @see Schema. The resulting schema * has no resolve methods, so execution will use default resolvers. * * @phpstan-param TypeConfigDecorator|null $typeConfigDecorator