@@ -4,8 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Drupal\Core\Cache\Cache; |
6 | 6 | use Drupal\Core\Cache\CacheableDependencyInterface; |
7 | -use Drupal\Core\Cache\CacheableMetadata; |
|
8 | -use Drupal\Core\Cache\CacheableResponseInterface; |
|
9 | 7 | use Drupal\Core\Cache\CacheBackendInterface; |
10 | 8 | use Drupal\Core\Cache\Context\CacheContextsManager; |
11 | 9 | use Drupal\Core\PageCache\RequestPolicyInterface; |
@@ -98,7 +98,7 @@ |
||
98 | 98 | * @param \Youshido\GraphQL\Execution\ResolveInfo $info |
99 | 99 | * The resolve info object. |
100 | 100 | * |
101 | - * @return mixed |
|
101 | + * @return EntityCrudOutputWrapper|null |
|
102 | 102 | * The output for the created entity. |
103 | 103 | */ |
104 | 104 | protected function resolveOutput(EntityInterface $entity, array $args, ResolveInfo $info) { |
@@ -29,7 +29,7 @@ |
||
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 = []) { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Drupal\Component\Plugin\Derivative\DeriverBase; |
6 | 6 | use Drupal\Core\Entity\ContentEntityTypeInterface; |
7 | 7 | use Drupal\Core\Entity\EntityTypeManagerInterface; |
8 | -use Drupal\Core\Field\BaseFieldDefinition; |
|
9 | 8 | use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface; |
10 | 9 | use Drupal\Core\StringTranslation\StringTranslationTrait; |
11 | 10 | use Drupal\Core\TypedData\TypedDataManager; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Images; |
4 | 4 | |
5 | 5 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
6 | -use Drupal\image\Plugin\Field\FieldType\ImageItem; |
|
7 | 6 | use Youshido\GraphQL\Execution\ResolveInfo; |
8 | 7 | |
9 | 8 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Images; |
4 | 4 | |
5 | 5 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
6 | -use Drupal\image\Plugin\Field\FieldType\ImageItem; |
|
7 | 6 | use Youshido\GraphQL\Execution\ResolveInfo; |
8 | 7 | |
9 | 8 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Images; |
4 | 4 | |
5 | 5 | use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase; |
6 | -use Drupal\image\Plugin\Field\FieldType\ImageItem; |
|
7 | 6 | use Youshido\GraphQL\Execution\ResolveInfo; |
8 | 7 | |
9 | 8 | /** |