@@ -60,9 +60,9 @@ |
||
| 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()) { |
@@ -60,11 +60,11 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | * @param integer[] $types |
| 146 | 146 | * A list of type constants. |
| 147 | 147 | * |
| 148 | - * @return object The highest weighted plugin with a specific name. |
|
| 148 | + * @return \object|null The highest weighted plugin with a specific name. |
|
| 149 | 149 | * The highest weighted plugin with a specific name. |
| 150 | 150 | * |
| 151 | 151 | * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | * @param string[] $types |
| 175 | 175 | * A list of type constants. |
| 176 | 176 | * |
| 177 | - * @return object |
|
| 177 | + * @return \object|null |
|
| 178 | 178 | * The matching type with the highest weight. |
| 179 | 179 | */ |
| 180 | 180 | public function findByDataType($dataType, array $types = [ |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | /** |
| 206 | 206 | * Retrieve all mutations. |
| 207 | 207 | * |
| 208 | - * @return object[] |
|
| 208 | + * @return \object[] |
|
| 209 | 209 | * The list of mutation plugins. |
| 210 | 210 | */ |
| 211 | 211 | public function getMutations() { |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | /** |
| 218 | 218 | * Retrieve all fields that are not associated with a specific type. |
| 219 | 219 | * |
| 220 | - * @return object[] |
|
| 220 | + * @return \object[] |
|
| 221 | 221 | * The list root field plugins. |
| 222 | 222 | */ |
| 223 | 223 | public function getRootFields() { |
@@ -50,6 +50,7 @@ |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * {@inheritdoc} |
| 53 | + * @param string $pluginId |
|
| 53 | 54 | */ |
| 54 | 55 | public function createInstance($pluginId, array $configuration = []) { |
| 55 | 56 | if (!array_key_exists($pluginId, $this->instances)) { |