Completed
Pull Request — 8.x-3.x (#586)
by Philipp
02:34
created
src/Plugin/GraphQL/Fields/FieldPluginBase.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Drupal\graphql\Plugin\GraphQL\Traits\DeprecatablePluginTrait;
16 16
 use Drupal\graphql\Plugin\GraphQL\Traits\DescribablePluginTrait;
17 17
 use Drupal\graphql\Plugin\GraphQL\Traits\TypedPluginTrait;
18
-use Drupal\graphql\Plugin\LanguageNegotiation\LanguageNegotiationGraphQL;
19 18
 use Drupal\graphql\Plugin\SchemaBuilderInterface;
20 19
 use GraphQL\Deferred;
21 20
 use GraphQL\Type\Definition\ListOfType;
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/Menu/MenuByName.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Menu;
4 4
 
5 5
 use Drupal\Core\DependencyInjection\DependencySerializationTrait;
6
-use Drupal\Core\Entity\EntityType;
7 6
 use Drupal\Core\Entity\EntityTypeManagerInterface;
8 7
 use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
9 8
 use Drupal\graphql\GraphQL\Execution\ResolveContext;
Please login to merge, or discard this patch.
src/GraphQL/Execution/QueryProcessor.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
    * @param \GraphQL\Server\OperationParams $params
290 290
    * @param \GraphQL\Language\AST\DocumentNode $document
291 291
    *
292
-   * @return \GraphQL\Executor\Promise\Promise|mixed
292
+   * @return \GraphQL\Executor\Promise\Promise
293 293
    */
294 294
   protected function executeCacheableOperation(PromiseAdapter $adapter, ServerConfig $config, OperationParams $params, DocumentNode $document) {
295 295
     $contextCacheId = 'ccid:' . $this->cacheIdentifier($params, $document, new CacheableMetadata());
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
    * @param \GraphQL\Server\ServerConfig $config
420 420
    * @param \GraphQL\Server\OperationParams $params
421 421
    * @param \GraphQL\Language\AST\DocumentNode $document
422
-   * @param $operation
422
+   * @param string $operation
423 423
    *
424 424
    * @return mixed
425 425
    */
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
    * @param \GraphQL\Server\ServerConfig $config
437 437
    * @param \GraphQL\Server\OperationParams $params
438 438
    * @param \GraphQL\Language\AST\DocumentNode $document
439
-   * @param $operation
439
+   * @param string $operation
440 440
    *
441 441
    * @return mixed
442 442
    */
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
    * @param \GraphQL\Server\ServerConfig $config
454 454
    * @param \GraphQL\Server\OperationParams $params
455 455
    * @param \GraphQL\Language\AST\DocumentNode $document
456
-   * @param $operation
456
+   * @param string $operation
457 457
    *
458 458
    * @return array
459 459
    */
Please login to merge, or discard this patch.