Completed
Pull Request — 8.x-3.x (#653)
by Sebastian
02:48
created
src/Controller/RequestController.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -71,9 +71,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/GraphQL/Execution/QueryProcessor.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.