Completed
Pull Request — 8.x-3.x (#525)
by Sebastian
02:21
created
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 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\GraphQL\Execution\ResolveContext;
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,13 +2,10 @@
 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\GraphQL\Execution\ResolveContext;
10 8
 use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
11
-use Symfony\Component\DependencyInjection\ContainerInterface;
12 9
 use GraphQL\Type\Definition\ResolveInfo;
13 10
 
14 11
 /**
Please login to merge, or discard this patch.
src/Controller/RequestController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
   }
73 73
 
74 74
   /**
75
-   * @param $schema
76
-   * @param $operations
75
+   * @param string $schema
76
+   * @param \GraphQL\Server\OperationParams $operations
77 77
    * @param array $globals
78 78
    *
79 79
    * @return \Drupal\Core\Cache\CacheableJsonResponse
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
   }
87 87
 
88 88
   /**
89
-   * @param $schema
89
+   * @param string $schema
90 90
    * @param $operations
91 91
    * @param array $globals
92 92
    *
Please login to merge, or discard this patch.
src/Plugin/GraphQL/Fields/FieldPluginBase.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\Component\Plugin\PluginBase;
6 6
 use Drupal\Component\Render\MarkupInterface;
7 7
 use Drupal\Core\Cache\CacheableDependencyInterface;
8
-use Drupal\Core\StringTranslation\TranslatableMarkup;
9 8
 use Drupal\graphql\GraphQL\Execution\ResolveContext;
10 9
 use Drupal\graphql\GraphQL\ValueWrapperInterface;
11 10
 use Drupal\graphql\Plugin\FieldPluginInterface;
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
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
    * @param \GraphQL\Server\ServerConfig $config
279 279
    * @param \GraphQL\Server\OperationParams $params
280 280
    * @param \GraphQL\Language\AST\DocumentNode $document
281
-   * @param $operation
281
+   * @param string $operation
282 282
    *
283 283
    * @return mixed
284 284
    */
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
    * @param \GraphQL\Server\ServerConfig $config
296 296
    * @param \GraphQL\Server\OperationParams $params
297 297
    * @param \GraphQL\Language\AST\DocumentNode $document
298
-   * @param $operation
298
+   * @param string $operation
299 299
    *
300 300
    * @return mixed
301 301
    */
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
    * @param \GraphQL\Server\ServerConfig $config
313 313
    * @param \GraphQL\Server\OperationParams $params
314 314
    * @param \GraphQL\Language\AST\DocumentNode $document
315
-   * @param $operation
315
+   * @param string $operation
316 316
    *
317 317
    * @return array
318 318
    */
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
    * @param \GraphQL\Server\ServerConfig $config
334 334
    * @param \GraphQL\Server\OperationParams $params
335 335
    * @param \GraphQL\Language\AST\DocumentNode $document
336
-   * @param $operation
336
+   * @param string $operation
337 337
    *
338 338
    * @return int|null
339 339
    */
Please login to merge, or discard this patch.