@@ -71,9 +71,8 @@ discard block |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * @param $schema |
|
75 | - * @param $operations |
|
76 | - * @param array $globals |
|
74 | + * @param string $schema |
|
75 | + * @param \GraphQL\Server\OperationParams $operations |
|
77 | 76 | * |
78 | 77 | * @return \Drupal\Core\Cache\CacheableJsonResponse |
79 | 78 | * @throws \Drupal\Component\Plugin\Exception\PluginException |
@@ -86,9 +85,8 @@ discard block |
||
86 | 85 | } |
87 | 86 | |
88 | 87 | /** |
89 | - * @param $schema |
|
88 | + * @param string $schema |
|
90 | 89 | * @param $operations |
91 | - * @param array $globals |
|
92 | 90 | * |
93 | 91 | * @return \Drupal\Core\Cache\CacheableJsonResponse |
94 | 92 | * @throws \Drupal\Component\Plugin\Exception\PluginException |
@@ -2,13 +2,10 @@ discard block |
||
2 | 2 | |
3 | 3 | namespace Drupal\graphql\GraphQL\Execution; |
4 | 4 | |
5 | -use Drupal\Core\Cache\CacheableDependencyInterface; |
|
6 | 5 | use Drupal\Core\Cache\CacheableMetadata; |
7 | 6 | use Drupal\Core\Cache\CacheBackendInterface; |
8 | 7 | use Drupal\Core\Cache\Context\CacheContextsManager; |
9 | -use Drupal\Core\Session\AccountProxyInterface; |
|
10 | 8 | use Drupal\graphql\Plugin\SchemaPluginManager; |
11 | -use Drupal\graphql\GraphQL\QueryProvider\QueryProviderInterface; |
|
12 | 9 | use GraphQL\Error\Error; |
13 | 10 | use GraphQL\Error\FormattedError; |
14 | 11 | use GraphQL\Executor\ExecutionResult; |
@@ -25,7 +22,6 @@ discard block |
||
25 | 22 | use GraphQL\Utils\AST; |
26 | 23 | use GraphQL\Utils\TypeInfo; |
27 | 24 | use GraphQL\Utils\Utils; |
28 | -use GraphQL\Validator\DocumentValidator; |
|
29 | 25 | use GraphQL\Validator\Rules\AbstractValidationRule; |
30 | 26 | use GraphQL\Validator\ValidationContext; |
31 | 27 |