diff --git a/core/modules/user/lib/Drupal/user/RegisterFormController.php b/core/modules/user/lib/Drupal/user/RegisterFormController.php index ab74f71..f83b86f 100644 --- a/core/modules/user/lib/Drupal/user/RegisterFormController.php +++ b/core/modules/user/lib/Drupal/user/RegisterFormController.php @@ -7,7 +7,7 @@ namespace Drupal\user; -use Drupal\Core\Entity\Query\QueryInterface; +use Drupal\Core\Entity\Query\QueryFactory; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\RedirectResponse; @@ -19,7 +19,7 @@ class RegisterFormController extends AccountFormController { /** * {@inheritdoc} */ - public function __construct(QueryInterface $entity_query) { + public function __construct(QueryFactory $entity_query) { parent::__construct($entity_query); }