Skip to content

Commit 1a59209

Browse files
Autofix
1 parent 6317931 commit 1a59209

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/class-reference.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ static function executeQuery(
7070
?array $variableValues = null,
7171
?string $operationName = null,
7272
?callable $fieldResolver = null,
73-
?array $validationRules = null
73+
?array $validationRules = null,
74+
?GraphQL\Validator\ValidationCache $cache = null
7475
): GraphQL\Executor\ExecutionResult
7576
```
7677

@@ -98,7 +99,8 @@ static function promiseToExecute(
9899
?array $variableValues = null,
99100
?string $operationName = null,
100101
?callable $fieldResolver = null,
101-
?array $validationRules = null
102+
?array $validationRules = null,
103+
?GraphQL\Validator\ValidationCache $cache = null
102104
): GraphQL\Executor\Promise\Promise
103105
```
104106

@@ -1811,7 +1813,8 @@ static function validate(
18111813
GraphQL\Type\Schema $schema,
18121814
GraphQL\Language\AST\DocumentNode $ast,
18131815
?array $rules = null,
1814-
?GraphQL\Utils\TypeInfo $typeInfo = null
1816+
?GraphQL\Utils\TypeInfo $typeInfo = null,
1817+
?GraphQL\Validator\ValidationCache $cache = null
18151818
): array
18161819
```
18171820

src/Validator/ValidationCache.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ interface ValidationCache
1818
*/
1919
public function isValidated(Schema $schema, DocumentNode $ast): bool;
2020

21-
/**
22-
* Cache validation status for this schema/query.
23-
*/
21+
/** Cache validation status for this schema/query. */
2422
public function markValidated(Schema $schema, DocumentNode $ast): void;
25-
}
23+
}

0 commit comments

Comments
 (0)