33namespace Drupal \graphql \Plugin \GraphQL \DataProducer \Entity ;
44
55use Drupal \Core \Entity \EntityRepositoryInterface ;
6- use Drupal \Core \Entity \EntityTypeManager ;
6+ use Drupal \Core \Entity \EntityTypeManagerInterface ;
77use Drupal \Core \Entity \TranslatableInterface ;
88use Drupal \Core \Plugin \ContainerFactoryPluginInterface ;
99use Drupal \graphql \GraphQL \Buffers \EntityUuidBuffer ;
@@ -45,7 +45,7 @@ class EntityLoadByUuid extends DataProducerPluginBase implements ContainerFactor
4545 /**
4646 * The entity type manager service.
4747 *
48- * @var \Drupal\Core\Entity\EntityTypeManager
48+ * @var \Drupal\Core\Entity\EntityTypeManagerInterface
4949 */
5050 protected $ entityTypeManager ;
5151
@@ -88,7 +88,7 @@ public static function create(ContainerInterface $container, array $configuratio
8888 * The plugin id.
8989 * @param array $pluginDefinition
9090 * The plugin definition array.
91- * @param \Drupal\Core\Entity\EntityTypeManager $entityTypeManager
91+ * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager
9292 * The entity type manager service.
9393 * @param \Drupal\Core\Entity\EntityRepositoryInterface $entityRepository
9494 * The entity repository service.
@@ -101,7 +101,7 @@ public function __construct(
101101 $ configuration ,
102102 $ pluginId ,
103103 $ pluginDefinition ,
104- EntityTypeManager $ entityTypeManager ,
104+ EntityTypeManagerInterface $ entityTypeManager ,
105105 EntityRepositoryInterface $ entityRepository ,
106106 EntityUuidBuffer $ entityBuffer
107107 ) {
0 commit comments