Completed
Push — 8.x-3.x ( bd3169...9e14ee )
by Philipp
02:08
created
modules/graphql_core/src/Plugin/Deriver/Mutations/DeleteEntityDeriver.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\Entity\EntityTypeManagerInterface;
8 8
 use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface;
9 9
 use Drupal\graphql\Utility\StringHelper;
10
-use Drupal\graphql_content_mutation\ContentEntityMutationSchemaConfig;
11 10
 use Symfony\Component\DependencyInjection\ContainerInterface;
12 11
 
13 12
 class DeleteEntityDeriver extends DeriverBase implements ContainerDeriverInterface {
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/Deriver/Mutations/UpdateEntityDeriver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Drupal\Core\Entity\EntityTypeManagerInterface;
9 9
 use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface;
10 10
 use Drupal\graphql\Utility\StringHelper;
11
-use Drupal\graphql_content_mutation\ContentEntityMutationSchemaConfig;
12 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
13 12
 
14 13
 class UpdateEntityDeriver extends DeriverBase implements ContainerDeriverInterface {
Please login to merge, or discard this patch.
modules/graphql_core/src/Plugin/Deriver/Types/ViewResultTypeDeriver.php 1 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_core\Plugin\Deriver\Types;
4 4
 
5
-use Drupal\graphql\Utility\StringHelper;
6 5
 use Drupal\graphql_core\Plugin\Deriver\ViewDeriverBase;
7 6
 use Drupal\views\Views;
8 7
 
Please login to merge, or discard this patch.
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.
modules/graphql_core/src/Plugin/Deriver/Fields/ViewDeriver.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -60,11 +60,11 @@  discard block
 block discarded – undo
60 60
   /**
61 61
    * Helper function to return the contextual filter argument if any exist.
62 62
    *
63
-   * @param \Drupal\views\Plugin\views\display\DisplayPluginInterface $display
63
+   * @param \Drupal\graphql\Plugin\views\display\GraphQL $display
64 64
    *   The display plugin.
65 65
    * @param array $arguments
66 66
    *   The array of available arguments.
67
-   * @param $id
67
+   * @param string $id
68 68
    *   The plugin derivative id.
69 69
    *
70 70
    * @return array
@@ -90,9 +90,9 @@  discard block
 block discarded – undo
90 90
   /**
91 91
    * Helper function to retrieve the sort arguments if any are exposed.
92 92
    *
93
-   * @param \Drupal\views\Plugin\views\display\DisplayPluginInterface $display
93
+   * @param \Drupal\graphql\Plugin\views\display\GraphQL $display
94 94
    *   The display plugin.
95
-   * @param $id
95
+   * @param string $id
96 96
    *   The plugin derivative id.
97 97
    *
98 98
    * @return array
@@ -126,9 +126,9 @@  discard block
 block discarded – undo
126 126
   /**
127 127
    * Helper function to return the filter argument if applicable.
128 128
    *
129
-   * @param \Drupal\views\Plugin\views\display\DisplayPluginInterface $display
129
+   * @param \Drupal\graphql\Plugin\views\display\GraphQL $display
130 130
    *   The display plugin.
131
-   * @param $id
131
+   * @param string $id
132 132
    *   The plugin derivative id.
133 133
    *
134 134
    * @return array
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
   /**
153 153
    * Helper function to retrieve the pager arguments if the display is paged.
154 154
    *
155
-   * @param \Drupal\views\Plugin\views\display\DisplayPluginInterface $display
155
+   * @param \Drupal\graphql\Plugin\views\display\GraphQL $display
156 156
    *   The display plugin.
157 157
    *
158 158
    * @return array
Please login to merge, or discard this patch.
src/Plugin/Deriver/InputTypes/ViewContextualFilterInputDeriver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Drupal\graphql_core\Plugin\Deriver\InputTypes;
4 4
 
5 5
 use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface;
6
-use Drupal\graphql\Utility\StringHelper;
7 6
 use Drupal\graphql_core\Plugin\Deriver\ViewDeriverBase;
8 7
 use Drupal\views\Views;
9 8
 
Please login to merge, or discard this patch.