Code Duplication    Length = 7-7 lines in 2 locations

src/Plugin/GraphQL/InputTypes/InputTypePluginBase.php 1 location

@@ 37-43 (lines=7) @@
34
  /**
35
   * {@inheritdoc}
36
   */
37
  public function buildConfig(PluggableSchemaPluginInterface $schemaManager) {
38
    $this->config = new InputObjectTypeConfig([
39
      'name' => $this->buildName(),
40
      'description' => $this->buildDescription(),
41
      'fields' => $this->buildFields($schemaManager),
42
    ]);
43
  }
44
45
  /**
46
   * {@inheritdoc}

src/Plugin/GraphQL/Interfaces/InterfacePluginBase.php 1 location

@@ 45-51 (lines=7) @@
42
  /**
43
   * {@inheritdoc}
44
   */
45
  public function buildConfig(PluggableSchemaPluginInterface $schemaManager) {
46
    $this->config = new InterfaceTypeConfig([
47
      'name' => $this->buildName(),
48
      'description' => $this->buildDescription(),
49
      'fields' => $this->buildFields($schemaManager),
50
    ]);
51
  }
52
53
  /**
54
   * {@inheritdoc}