@@ -71,9 +71,8 @@ discard block |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * @param $schema |
|
75 | - * @param $operations |
|
76 | - * @param array $globals |
|
74 | + * @param string $schema |
|
75 | + * @param \GraphQL\Server\OperationParams $operations |
|
77 | 76 | * |
78 | 77 | * @return \Drupal\Core\Cache\CacheableJsonResponse |
79 | 78 | * @throws \Drupal\Component\Plugin\Exception\PluginException |
@@ -86,9 +85,8 @@ discard block |
||
86 | 85 | } |
87 | 86 | |
88 | 87 | /** |
89 | - * @param $schema |
|
88 | + * @param string $schema |
|
90 | 89 | * @param $operations |
91 | - * @param array $globals |
|
92 | 90 | * |
93 | 91 | * @return \Drupal\Core\Cache\CacheableJsonResponse |
94 | 92 | * @throws \Drupal\Component\Plugin\Exception\PluginException |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Drupal\graphql_core\Plugin\GraphQL\Fields\Menu; |
4 | 4 | |
5 | 5 | use Drupal\Core\DependencyInjection\DependencySerializationTrait; |
6 | -use Drupal\Core\Entity\EntityType; |
|
7 | 6 | use Drupal\Core\Entity\EntityTypeManagerInterface; |
8 | 7 | use Drupal\Core\Entity\TranslatableInterface; |
9 | 8 | use Drupal\Core\Plugin\ContainerFactoryPluginInterface; |
@@ -217,7 +217,7 @@ |
||
217 | 217 | /** |
218 | 218 | * Apply the specified revision filtering mode to the query. |
219 | 219 | * |
220 | - * @param \Drupal\Core\Entity\Query\QueryInterface $query |
|
220 | + * @param QueryInterface|null $query |
|
221 | 221 | * The entity query object. |
222 | 222 | * @param mixed $mode |
223 | 223 | * The revision query mode. |
@@ -157,6 +157,7 @@ |
||
157 | 157 | |
158 | 158 | /** |
159 | 159 | * {@inheritdoc} |
160 | + * @param \Drupal\graphql\GraphQLLanguageContext $languageContext |
|
160 | 161 | */ |
161 | 162 | protected function resolveDeferred(callable $callback, $value, array $args, ResolveContext $context, ResolveInfo $info, $isLanguageAware, $languageContext) { |
162 | 163 | $renderContext = new RenderContext(); |