Completed
Push — 8.x-3.x ( 33a905...4f59bb )
by Sebastian
01:35
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/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/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.
graphql_core/src/Plugin/GraphQL/Fields/Entity/EntityQueryExclusive.php 1 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.
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.
src/GraphQL/Execution/QueryProcessor.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
    * @param \GraphQL\Server\OperationParams $params
230 230
    * @param \GraphQL\Language\AST\DocumentNode $document
231 231
    *
232
-   * @return \GraphQL\Executor\Promise\Promise|mixed
232
+   * @return \GraphQL\Executor\Promise\Promise
233 233
    */
234 234
   protected function executeCacheableOperation(PromiseAdapter $adapter, ServerConfig $config, OperationParams $params, DocumentNode $document) {
235 235
     $contextCacheId = 'ccid:' . $this->cacheIdentifier($params, $document);
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
    * @param \GraphQL\Server\ServerConfig $config
363 363
    * @param \GraphQL\Server\OperationParams $params
364 364
    * @param \GraphQL\Language\AST\DocumentNode $document
365
-   * @param $operation
365
+   * @param string $operation
366 366
    *
367 367
    * @return mixed
368 368
    */
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
    * @param \GraphQL\Server\ServerConfig $config
380 380
    * @param \GraphQL\Server\OperationParams $params
381 381
    * @param \GraphQL\Language\AST\DocumentNode $document
382
-   * @param $operation
382
+   * @param string $operation
383 383
    *
384 384
    * @return mixed
385 385
    */
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
    * @param \GraphQL\Server\ServerConfig $config
397 397
    * @param \GraphQL\Server\OperationParams $params
398 398
    * @param \GraphQL\Language\AST\DocumentNode $document
399
-   * @param $operation
399
+   * @param string $operation
400 400
    *
401 401
    * @return array
402 402
    */
Please login to merge, or discard this patch.