Completed
Pull Request — 8.x-3.x (#933)
by Philipp
01:46
created
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.
modules/graphql_core/src/Plugin/Deriver/Fields/EntityFieldDeriver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Drupal\Core\Field\FieldDefinitionInterface;
6 6
 use Drupal\Core\TypedData\ComplexDataDefinitionInterface;
7
-use Drupal\Core\TypedData\ListDataDefinitionInterface;
8 7
 use Drupal\graphql\Utility\StringHelper;
9 8
 use Drupal\graphql_core\Plugin\Deriver\EntityFieldDeriverBase;
10 9
 
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/Blocks/BlocksByRegion.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Drupal\block\Entity\Block;
6 6
 use Drupal\block_content\Plugin\Block\BlockContentBlock;
7
-use Drupal\Core\Cache\CacheableMetadata;
8 7
 use Drupal\Core\Condition\ConditionInterface;
9 8
 use Drupal\Core\Entity\EntityRepositoryInterface;
10 9
 use Drupal\Core\Entity\EntityTypeManagerInterface;
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/GraphQL/Fields/Menu/MenuByName.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Drupal\Core\DependencyInjection\DependencySerializationTrait;
6 6
 use Drupal\Core\Entity\EntityTypeManagerInterface;
7
-use Drupal\Core\Language\LanguageManagerInterface;
8 7
 use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
9 8
 use Drupal\graphql\GraphQL\Execution\ResolveContext;
10 9
 use Drupal\graphql\Plugin\GraphQL\Fields\FieldPluginBase;
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
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
    * @param \GraphQL\Language\AST\DocumentNode $document
226 226
    * @param bool $validate
227 227
    *
228
-   * @return \GraphQL\Executor\Promise\Promise|mixed
228
+   * @return \GraphQL\Executor\Promise\Promise
229 229
    */
230 230
   protected function executeCacheableOperation(PromiseAdapter $adapter, ServerConfig $config, OperationParams $params, DocumentNode $document, $validate = TRUE) {
231 231
     $contextCacheId = 'ccid:' . $this->cacheIdentifier($params, $document);
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
    * @param \GraphQL\Server\ServerConfig $config
367 367
    * @param \GraphQL\Server\OperationParams $params
368 368
    * @param \GraphQL\Language\AST\DocumentNode $document
369
-   * @param $operation
369
+   * @param string $operation
370 370
    *
371 371
    * @return mixed
372 372
    */
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
    * @param \GraphQL\Server\ServerConfig $config
384 384
    * @param \GraphQL\Server\OperationParams $params
385 385
    * @param \GraphQL\Language\AST\DocumentNode $document
386
-   * @param $operation
386
+   * @param string $operation
387 387
    *
388 388
    * @return mixed
389 389
    */
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
    * @param \GraphQL\Server\ServerConfig $config
401 401
    * @param \GraphQL\Server\OperationParams $params
402 402
    * @param \GraphQL\Language\AST\DocumentNode $document
403
-   * @param $operation
403
+   * @param string $operation
404 404
    *
405 405
    * @return array
406 406
    * @throws \GraphQL\Server\RequestError
Please login to merge, or discard this patch.