@@ -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 = []) { |
@@ -107,7 +107,7 @@ |
||
| 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) { |
@@ -72,8 +72,8 @@ discard block |
||
| 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 |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * @param $schema |
|
| 89 | + * @param string $schema |
|
| 90 | 90 | * @param $operations |
| 91 | 91 | * @param array $globals |
| 92 | 92 | * |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | * @param \GraphQL\Server\OperationParams $params |
| 290 | 290 | * @param \GraphQL\Language\AST\DocumentNode $document |
| 291 | 291 | * |
| 292 | - * @return \GraphQL\Executor\Promise\Promise|mixed |
|
| 292 | + * @return \GraphQL\Executor\Promise\Promise |
|
| 293 | 293 | */ |
| 294 | 294 | protected function executeCacheableOperation(PromiseAdapter $adapter, ServerConfig $config, OperationParams $params, DocumentNode $document) { |
| 295 | 295 | $contextCacheId = 'ccid:' . $this->cacheIdentifier($params, $document, new CacheableMetadata()); |
@@ -419,7 +419,7 @@ discard block |
||
| 419 | 419 | * @param \GraphQL\Server\ServerConfig $config |
| 420 | 420 | * @param \GraphQL\Server\OperationParams $params |
| 421 | 421 | * @param \GraphQL\Language\AST\DocumentNode $document |
| 422 | - * @param $operation |
|
| 422 | + * @param string $operation |
|
| 423 | 423 | * |
| 424 | 424 | * @return mixed |
| 425 | 425 | */ |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | * @param \GraphQL\Server\ServerConfig $config |
| 437 | 437 | * @param \GraphQL\Server\OperationParams $params |
| 438 | 438 | * @param \GraphQL\Language\AST\DocumentNode $document |
| 439 | - * @param $operation |
|
| 439 | + * @param string $operation |
|
| 440 | 440 | * |
| 441 | 441 | * @return mixed |
| 442 | 442 | */ |
@@ -453,7 +453,7 @@ discard block |
||
| 453 | 453 | * @param \GraphQL\Server\ServerConfig $config |
| 454 | 454 | * @param \GraphQL\Server\OperationParams $params |
| 455 | 455 | * @param \GraphQL\Language\AST\DocumentNode $document |
| 456 | - * @param $operation |
|
| 456 | + * @param string $operation |
|
| 457 | 457 | * |
| 458 | 458 | * @return array |
| 459 | 459 | */ |
@@ -384,8 +384,6 @@ |
||
| 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. |