Completed
Push — 8.x-3.x ( e282f0...b8749e )
by Sebastian
02:17 queued 57s
created
src/GraphQL/Cache/CacheableValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
    *
30 30
    * @param mixed $value
31 31
    *   The actual value to be wrapped.
32
-   * @param array $dependencies
32
+   * @param CacheableMetadata[] $dependencies
33 33
    *   An array of cache dependencies.
34 34
    */
35 35
   public function __construct($value, array $dependencies = []) {
Please login to merge, or discard this patch.
graphql_core/src/Plugin/GraphQL/Fields/Routing/InternalUrl/Alias.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\Routing\InternalUrl;
4 4
 
5 5
 use Drupal\Core\DependencyInjection\DependencySerializationTrait;
6
-use Drupal\Core\Language\LanguageManagerInterface;
7 6
 use Drupal\Core\Path\AliasManagerInterface;
8 7
 use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
9 8
 use Drupal\Core\Url;
Please login to merge, or discard this patch.
graphql_core/src/Plugin/GraphQL/Fields/EntityQuery/EntityQueryEntities.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\EntityQuery;
4 4
 
5 5
 use Drupal\Core\DependencyInjection\DependencySerializationTrait;
6
-use Drupal\Core\Entity\ContentEntityInterface;
7 6
 use Drupal\Core\Entity\EntityInterface;
8 7
 use Drupal\Core\Entity\EntityRepositoryInterface;
9 8
 use Drupal\Core\Entity\EntityTypeManagerInterface;
Please login to merge, or discard this patch.
graphql_core/src/Plugin/GraphQL/Mutations/Entity/CreateEntityBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
    * @param \GraphQL\Type\Definition\ResolveInfo $info
108 108
    *   The resolve info object.
109 109
    *
110
-   * @return mixed
110
+   * @return EntityCrudOutputWrapper|null
111 111
    *   The output for the created entity.
112 112
    */
113 113
   protected function resolveOutput(EntityInterface $entity, array $args, ResolveInfo $info) {
Please login to merge, or discard this patch.
graphql_core/src/Plugin/GraphQL/Fields/Entity/EntityQueryExclusive.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Entity;
4 4
 
5
-use Drupal\Core\DependencyInjection\DependencySerializationTrait;
6 5
 use Drupal\Core\Entity\ContentEntityInterface;
7 6
 use Drupal\Core\Entity\Query\QueryInterface;
8 7
 use Drupal\graphql\GraphQL\Execution\ResolveContext;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
   /**
66 66
    * Apply the specified bundle filtering mode to the query.
67 67
    *
68
-   * @param \Drupal\Core\Entity\Query\QueryInterface $query
68
+   * @param QueryInterface|null $query
69 69
    *   The entity query object.
70 70
    * @param \Drupal\Core\Entity\ContentEntityInterface $value
71 71
    *   The parent entity object.
Please login to merge, or discard this patch.
graphql.module 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Drupal\Core\Cache\Cache;
4 3
 use Drupal\Core\Url;
5 4
 use Drupal\graphql\Utility\StringHelper;
6 5
 
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/EntityFieldBase.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Drupal\Component\Render\MarkupInterface;
6 6
 use Drupal\Core\Entity\ContentEntityInterface;
7
-use Drupal\Core\Entity\Entity;
8
-use Drupal\Core\Entity\EntityInterface;
9 7
 use Drupal\Core\Field\FieldItemInterface;
10 8
 use Drupal\graphql\GraphQL\Execution\ResolveContext;
11 9
 use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/Routing/RouteEntity.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,9 @@
 block discarded – undo
11 11
 use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
12 12
 use Drupal\Core\TypedData\TranslatableInterface;
13 13
 use Drupal\Core\Url;
14
-use Drupal\graphql\GraphQL\Buffers\SubRequestBuffer;
15 14
 use Drupal\graphql\GraphQL\Cache\CacheableValue;
16 15
 use Drupal\graphql\GraphQL\Execution\ResolveContext;
17 16
 use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
18
-use Symfony\Component\CssSelector\Parser\Tokenizer\TokenizerEscaping;
19 17
 use Symfony\Component\DependencyInjection\ContainerInterface;
20 18
 use GraphQL\Type\Definition\ResolveInfo;
21 19
 
Please login to merge, or discard this patch.
src/Plugin/GraphQL/Schemas/SchemaPluginBase.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -384,8 +384,6 @@
 block discarded – undo
384 384
   /**
385 385
    * Retrieves the subscription definition for a given field reference.
386 386
    *
387
-   * @param array $mutation
388
-   *   The subscription reference.
389 387
    *
390 388
    * @return array
391 389
    *   The subscription definition.
Please login to merge, or discard this patch.