Completed
Pull Request — 8.x-3.x (#400)
by Sebastian
02:36
created
modules/graphql_core/src/Plugin/Deriver/Fields/EntityFieldDeriver.php 2 patches
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_core\Plugin\Deriver\Fields;
4 4
 
5
-use Drupal\Core\Field\FieldConfigInterface;
6 5
 use Drupal\Core\Field\FieldStorageDefinitionInterface;
7 6
 use Drupal\field\FieldStorageConfigInterface;
8 7
 use Drupal\graphql\Utility\StringHelper;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@
 block discarded – undo
60 60
   }
61 61
 
62 62
   /**
63
-   * @param $entityTypeId
63
+   * @param string $entityTypeId
64 64
    * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $fieldDefinition
65
-   * @return array
65
+   * @return string
66 66
    */
67 67
   protected function getParentsForField($entityTypeId, FieldStorageDefinitionInterface $fieldDefinition) {
68 68
     if ($fieldDefinition->isBaseField()) {
Please login to merge, or discard this patch.