Completed
Pull Request — 8.x-3.x (#525)
by Philipp
02:30
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/Fields/Entity/EntityQueryExclusive.php 1 patch
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_core\Plugin\GraphQL\Fields\EntityQuery\EntityQuery;
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Enums/Images/ImageStyleId.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Drupal\Core\Entity\EntityTypeManagerInterface;
6 6
 use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
7 7
 use Drupal\graphql\Plugin\GraphQL\Enums\EnumPluginBase;
8
-use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface;
9 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Enums/Languages/LanguageId.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Drupal\Core\Language\LanguageManagerInterface;
6 6
 use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
7 7
 use Drupal\graphql\Plugin\GraphQL\Enums\EnumPluginBase;
8
-use Drupal\graphql\Plugin\GraphQL\PluggableSchemaBuilderInterface;
9 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/Routing/Path.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Routing;
4 4
 
5
-use Drupal\Core\DependencyInjection\DependencySerializationTrait;
6
-use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
7 5
 use Drupal\Core\Url;
8 6
 use Drupal\graphql\GraphQL\Cache\CacheableValue;
9 7
 use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
10
-use Symfony\Component\DependencyInjection\ContainerInterface;
11 8
 use GraphQL\Type\Definition\ResolveInfo;
12 9
 
13 10
 /**
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.