Completed
Pull Request — 8.x-3.x (#525)
by Sebastian
03:17
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.
src/GraphQL/Execution/QueryProcessor.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
    * @param null $root
264 264
    * @param null $context
265 265
    * @param null $variables
266
-   * @param null $operation
266
+   * @param string $operation
267 267
    * @param callable|NULL $resolver
268 268
    * @param array|NULL $rules
269 269
    *
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
    * @param \GraphQL\Server\ServerConfig $config
298 298
    * @param \GraphQL\Server\OperationParams $params
299 299
    * @param \GraphQL\Language\AST\DocumentNode $document
300
-   * @param $operation
300
+   * @param string $operation
301 301
    *
302 302
    * @return callable|mixed
303 303
    */
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
    * @param \GraphQL\Server\ServerConfig $config
315 315
    * @param \GraphQL\Server\OperationParams $params
316 316
    * @param \GraphQL\Language\AST\DocumentNode $document
317
-   * @param $operation
317
+   * @param string $operation
318 318
    *
319 319
    * @return callable|mixed
320 320
    */
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
    * @param \GraphQL\Server\ServerConfig $config
332 332
    * @param \GraphQL\Server\OperationParams $params
333 333
    * @param \GraphQL\Language\AST\DocumentNode $document
334
-   * @param $operation
334
+   * @param string $operation
335 335
    *
336 336
    * @return array|callable
337 337
    */
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.