Completed
Push — 8.x-3.x ( 7d59f6...ceb912 )
by
unknown
01:33
created
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.
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.
modules/graphql_core/src/Plugin/GraphQL/Fields/EntityQuery/EntityQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
   /**
218 218
    * Apply the specified revision filtering mode to the query.
219 219
    *
220
-   * @param \Drupal\Core\Entity\Query\QueryInterface $query
220
+   * @param QueryInterface|null $query
221 221
    *   The entity query object.
222 222
    * @param mixed $mode
223 223
    *   The revision query mode.
Please login to merge, or discard this patch.