Completed
Pull Request — 8.x-3.x (#519)
by Sebastian
02:28
created
src/Controller/RequestController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Drupal\Core\Cache\CacheableMetadata;
8 8
 use Drupal\Core\Cache\CacheableResponseInterface;
9 9
 use Drupal\Core\Cache\RefinableCacheableDependencyInterface;
10
-use Drupal\Core\Config\Config;
11 10
 use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
12 11
 use Drupal\Core\Render\RenderContext;
13 12
 use Drupal\Core\Render\RendererInterface;
Please login to merge, or discard this patch.
src/GraphQL/Execution/Visitor/MaxComplexityVisitor.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,6 @@
 block discarded – undo
15 15
   /**
16 16
    * MaxComplexityQueryVisitor constructor.
17 17
    *
18
-   * @param int $maxComplexity
19
-   *   The allowed maximum complexity.
20 18
    */
21 19
   public function __construct($defaultCost = 1) {
22 20
     $this->defaultCost = $defaultCost;
Please login to merge, or discard this 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\GraphQL\Execution\Visitor;
4 4
 
5
-use Youshido\GraphQL\Exception\ResolveException;
6 5
 use Youshido\GraphQL\Field\FieldInterface;
7 6
 
8 7
 class MaxComplexityVisitor implements VisitorInterface {
Please login to merge, or discard this patch.